aboutsummaryrefslogtreecommitdiff
path: root/sbin/shutdown
diff options
context:
space:
mode:
authorJilles Tjoelker <jilles@FreeBSD.org>2012-05-23 19:25:46 +0000
committerJilles Tjoelker <jilles@FreeBSD.org>2012-05-23 19:25:46 +0000
commit23124c879c3f61aab92bf9a4a6bedc3c0871c844 (patch)
tree6112db991a5bcd7433429e00261e603833cddc05 /sbin/shutdown
parent251386b4b261f2fd90e4eb905d9f18288a2c80ff (diff)
downloadsrc-23124c879c3f61aab92bf9a4a6bedc3c0871c844.tar.gz
src-23124c879c3f61aab92bf9a4a6bedc3c0871c844.zip
shutdown: Remove unnecessary 2-second delay.
Notes
Notes: svn path=/head/; revision=235855
Diffstat (limited to 'sbin/shutdown')
-rw-r--r--sbin/shutdown/shutdown.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sbin/shutdown/shutdown.c b/sbin/shutdown/shutdown.c
index 6e662a8b6f44..05d73a97a7ac 100644
--- a/sbin/shutdown/shutdown.c
+++ b/sbin/shutdown/shutdown.c
@@ -356,7 +356,6 @@ perform_shutdown(void)
syslog(LOG_NOTICE, "%s by %s: %s",
doreboot ? "reboot" : dohalt ? "halt" : dopower ? "power-down" :
"shutdown", whom, mbuf);
- (void)sleep(2);
(void)printf("\r\nSystem shutdown time has arrived\007\007\r\n");
if (killflg) {