diff options
author | ats <ats@FreeBSD.org> | 1994-11-27 23:52:13 +0000 |
---|---|---|
committer | ats <ats@FreeBSD.org> | 1994-11-27 23:52:13 +0000 |
commit | ffea1bbfcc3c9344f20891104df05cc9a2a322d2 (patch) | |
tree | c1d6904e001398683dc229db2fa4e974331e4e5a /sbin | |
parent | 9beb2cb7dba793c8bf3482ac94ffb5bcd7dd9114 (diff) | |
download | FreeBSD-src-ffea1bbfcc3c9344f20891104df05cc9a2a322d2.zip FreeBSD-src-ffea1bbfcc3c9344f20891104df05cc9a2a322d2.tar.gz |
Submitted by: M.C. Wong
Obtained from:
Don't throw away the /etc/nologin file in the -k case.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/shutdown/shutdown.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |