summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--signal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/signal.c b/signal.c
index 0bb881e..ebaf7bc 100644
--- a/signal.c
+++ b/signal.c
@@ -26,6 +26,7 @@ static void do_reboot(void)
LOG("reboot\n");
fflush(stderr);
sync();
+ sleep(2);
reboot(RB_AUTOBOOT);
while (1)
;