From 06b065782df0aa2398e1c9339cbf0b08b1cea720 Mon Sep 17 00:00:00 2001 From: Tom Granqvist Date: Thu, 13 Apr 2017 11:05:39 +0300 Subject: [PATCH] Fixing bug in my_init.shutdown_runit_services The os.system() call received two arguments from a typo with string formatting. --- 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 1d6fa0c..fb614ac 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/*" % KILL_PROCESS_TIMEOUT) def wait_for_runit_services(): debug("Waiting for runit services to exit...")