my_init exits with 0 on SIGINT after runit is started

fixes #358
This commit is contained in:
Travis Rowland
2017-10-30 12:04:21 -07:00
committed by GitHub
parent 421ca4ea05
commit 7c7ab1a0a6

View File

@@ -296,11 +296,8 @@ def start_runit():
def wait_for_runit_or_interrupt(pid):
try:
status = waitpid_reap_other_children(pid)
return (True, status)
except KeyboardInterrupt:
return (False, None)
def shutdown_runit_services(quiet=False):