1 sync in shutdown procedure.
This commit is contained in:
parent
cdc790c4da
commit
a369d9c828
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue