aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorAndreas Schulz <ats@FreeBSD.org>1994-11-27 23:52:13 +0000
committerAndreas Schulz <ats@FreeBSD.org>1994-11-27 23:52:13 +0000
commit7dd4667fed0864f28cd608c291e72eb4f279af38 (patch)
treec1d6904e001398683dc229db2fa4e974331e4e5a /sbin/shutdown
parentd3378ee1656ab734b6d5a04803c482785bd16a70 (diff)
downloadsrc-7dd4667fed0864f28cd608c291e72eb4f279af38.tar.gz
src-7dd4667fed0864f28cd608c291e72eb4f279af38.zip
Submitted by: M.C. Wong
Obtained from: Don't throw away the /etc/nologin file in the -k case.
Notes
Notes: svn path=/head/; revision=4844
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index c63ba659c66a..2911bad88223 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();