1 sync in shutdown procedure.
This commit is contained in:
parent
cdc790c4da
commit
a369d9c828
@ -133,6 +133,8 @@ char **argv;
|
|||||||
sleep(2);
|
sleep(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sync();
|
||||||
|
|
||||||
reboot(flag, monitor_code, strlen(monitor_code));
|
reboot(flag, monitor_code, strlen(monitor_code));
|
||||||
fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
|
fprintf(stderr, "%s: reboot(): %s\n", strerror(errno));
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user