summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c
index e85c1e1a..0198a4d4 100644
--- a/init/init.c
+++ b/init/init.c
@@ -1251,13 +1251,13 @@ kill_multi_user ()
free_ttys ();
- /* Notify tasks that they are about to die. */
- notify_shutdown ("transition to single-user");
-
for (stage = 0; stage < 3; stage++)
if (kill_everyone (sigs[stage]))
break;
+ /* Notify tasks that they are about to die. */
+ notify_shutdown ("transition to single-user");
+
if (stage == 3)
error (0, 0, "warning: some processes wouldn't die; `ps -axlM' advised");
}