diff --git a/commands/reboot/halt.c b/commands/reboot/halt.c index 2459bc97c..13a43708f 100755 --- a/commands/reboot/halt.c +++ b/commands/reboot/halt.c @@ -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;