From 9b1381fd2fb7179f731709542507015799f90a51 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 3 Jan 2007 02:56:00 +0000 Subject: convert calloc to xzalloc fix sleep-on-die option --- libbb/herror_msg_and_die.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbb/herror_msg_and_die.c') diff --git a/libbb/herror_msg_and_die.c b/libbb/herror_msg_and_die.c index f62ddd2ea..a7a22caf7 100644 --- a/libbb/herror_msg_and_die.c +++ b/libbb/herror_msg_and_die.c @@ -19,7 +19,5 @@ 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(xfunc_error_retval); + sleep_and_die(); } -- cgit v1.2.3