mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-11-20 09:21:17 +00:00
1 parent
421ca4ea05
commit
7c7ab1a0a6
1 file changed
-3
@@ -296,11 +296,8 @@ def start_runit():
|
|||||||
|
|
||||||
|
|
||||||
def wait_for_runit_or_interrupt(pid):
|
def wait_for_runit_or_interrupt(pid):
|
||||||
try:
|
|
||||||
status = waitpid_reap_other_children(pid)
|
status = waitpid_reap_other_children(pid)
|
||||||
return (True, status)
|
return (True, status)
|
||||||
except KeyboardInterrupt:
|
|
||||||
return (False, None)
|
|
||||||
|
|
||||||
|
|
||||||
def shutdown_runit_services(quiet=False):
|
def shutdown_runit_services(quiet=False):
|
||||||
|
|||||||
Reference in new issue
Block a user