mirror of
https://github.com/phusion/baseimage-docker.git
synced 2026-03-26 12:29:07 +00:00
@@ -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