From 202298cce2b9a5be84a523544f6dc665546e6a43 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 24 Jun 1996 20:29:18 +0000 Subject: (kill_multi_user): Kill user tasks before doing notify_shutdown. --- init/init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'init') 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"); } -- cgit v1.2.3