From b2c329af5150878dacd238dcdeb9722162ca2ea1 Mon Sep 17 00:00:00 2001 From: Xiangmin Jiao Date: Sat, 22 Apr 2017 20:46:36 -0400 Subject: [PATCH] Suppress the status reports from "sv -w" --- image/bin/my_init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image/bin/my_init b/image/bin/my_init index fb614ac..d3a2c41 100755 --- a/image/bin/my_init +++ b/image/bin/my_init @@ -247,7 +247,7 @@ def wait_for_runit_or_interrupt(pid): def shutdown_runit_services(quiet = False): if not quiet: debug("Begin shutting down runit services...") - os.system("/usr/bin/sv -w %d down /etc/service/*" % KILL_PROCESS_TIMEOUT) + os.system("/usr/bin/sv -w %d down /etc/service/* > /dev/null" % KILL_PROCESS_TIMEOUT) def wait_for_runit_services(): debug("Waiting for runit services to exit...")