Skip to content

Commit

Permalink
Suppress the status reports from "sv -w"
Browse files Browse the repository at this point in the history
  • Loading branch information
xmjiao authored Apr 23, 2017
1 parent f012793 commit b2c329a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/bin/my_init
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit b2c329a

Please sign in to comment.