From 72a98326624757f8afcfbe9a835c1e01ef6443c7 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Fri, 29 Jul 2016 16:54:47 +0200 Subject: [PATCH] Remove developer debug of reboot/umount sequence Signed-off-by: Joachim Nilsson --- sig.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sig.c b/sig.c index c3a902f7..01149183 100644 --- a/sig.c +++ b/sig.c @@ -115,7 +115,7 @@ void do_shutdown(shutop_t op) _d("Sending SIGKILL to remaining processes."); kill(-1, SIGKILL); - debug = 1; + /* Exit plugins and API gracefully */ plugin_exit(); api_exit(); @@ -148,9 +148,6 @@ void do_shutdown(shutop_t op) run("/bin/mount -n -o remount,ro dummydev /"); run("/bin/mount -n -o remount,ro /"); - _e("PID %d: %s ...", getpid(), op == SHUT_REBOOT ? "Rebooting" : "Halting"); - do_sleep(5); - _d("%s.", op == SHUT_REBOOT ? "Rebooting" : "Halting"); if (op == SHUT_REBOOT) reboot(RB_AUTOBOOT);