From 7c7ab1a0a62293b4a1c98d94de2d114d6deaae0c Mon Sep 17 00:00:00 2001 From: Travis Rowland Date: Mon, 30 Oct 2017 12:04:21 -0700 Subject: [PATCH] my_init exits with 0 on SIGINT after runit is started fixes #358 --- image/bin/my_init | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/image/bin/my_init b/image/bin/my_init index 7e95ed2..164247e 100755 --- a/image/bin/my_init +++ b/image/bin/my_init @@ -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):