1 sync in shutdown procedure.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user