forked from Docker/baseimage-docker
@@ -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