aboutsummaryrefslogtreecommitdiff
path: root/libbb/herror_msg_and_die.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 16:20:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-07 16:20:03 +0000
commita9801658ee4b7f5717d145818428452f864e1015 (patch)
treef85bbdf6cb572751dee639feb9896cad3503b924 /libbb/herror_msg_and_die.c
parentb750dec40a4bf013f98658b46925117d9d1d4811 (diff)
downloadbusybox-a9801658ee4b7f5717d145818428452f864e1015.tar.gz
getty, sulogin: convert to using bb_msg for syslog output
Diffstat (limited to 'libbb/herror_msg_and_die.c')
-rw-r--r--libbb/herror_msg_and_die.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c
index 285b195ef..f115c8e0a 100644
--- a/libbb/herror_msg_and_die.c
+++ b/libbb/herror_msg_and_die.c
@@ -19,5 +19,7 @@ void bb_herror_msg_and_die(const char *s, ...)
va_start(p, s);
bb_vherror_msg(s, p);
va_end(p);
+ if (die_sleep)
+ sleep(die_sleep);
exit(bb_default_error_retval);
}