1 sync in shutdown procedure.

This commit is contained in:
Ben Gras 2005-10-05 15:07:08 +00:00
parent cdc790c4da
commit a369d9c828

View file

@ -133,6 +133,8 @@ char **argv;
sleep(2);
}
sync();
reboot(flag, monitor_code, strlen(monitor_code));
fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
return 1;