diff options
-rw-r--r-- | runit/runsvdir.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runit/runsvdir.c b/runit/runsvdir.c index d5e58e9e7..581787f03 100644 --- a/runit/runsvdir.c +++ b/runit/runsvdir.c @@ -371,9 +371,10 @@ int runsvdir_main(int argc UNUSED_PARAM, char **argv) goto ret; default: /* so we are init. do not exit, - * and pause respawning - we may be rebooting... */ + * and pause respawning - we may be rebooting + * (but SIGHUP is not a reboot, make short pause) */ + deadline = (SIGHUP == bb_got_signal) ? 5 : 60; bb_got_signal = 0; - deadline = 60; goto do_sleep; } } |