From ffea1bbfcc3c9344f20891104df05cc9a2a322d2 Mon Sep 17 00:00:00 2001 From: ats Date: Sun, 27 Nov 1994 23:52:13 +0000 Subject: Submitted by: M.C. Wong Obtained from: Don't throw away the /etc/nologin file in the -k case. --- sbin/shutdown/shutdown.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/shutdown') diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c index c63ba65..2911bad 100644 --- a/sbin/shutdown/shutdown.c +++ b/sbin/shutdown/shutdown.c @@ -330,7 +330,7 @@ die_you_gravy_sucking_pig_dog() (void)printf("\r\nSystem shutdown time has arrived\007\007\r\n"); if (killflg) { (void)printf("\rbut you'll have to do it yourself\r\n"); - finish(0); + exit(0); } if (dofast) doitfast(); -- cgit v1.1