mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-28 13:28:10 +00:00
Merge pull request #445 from phusion/Theaxiom-patch-1
my_init exits with 0 on SIGINT after runit is started
This commit is contained in:
@@ -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)
|
||||
status = waitpid_reap_other_children(pid)
|
||||
return (True, status)
|
||||
|
||||
|
||||
def shutdown_runit_services(quiet=False):
|
||||
|
||||
Reference in New Issue
Block a user