diff options
-rw-r--r-- | mdk-stage1/rescue-gui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mdk-stage1/rescue-gui.c b/mdk-stage1/rescue-gui.c index dbe12cb4a..f75ec76b2 100644 --- a/mdk-stage1/rescue-gui.c +++ b/mdk-stage1/rescue-gui.c @@ -192,7 +192,10 @@ int main(int argc __attribute__ ((unused)), char **argv __attribute__ ((unused)) } if (ptr_begins_static_str(choice, reboot_)) { finish_frontend(); + sync(); sync(); + sleep(2); unmount_filesystems(); + sync(); sync(); printf("rebooting system\n"); sleep(2); reboot(0xfee1dead, 672274793, 0x01234567); |