From cd4370bd6ed20fd2c944f03206d3cd56023f390f Mon Sep 17 00:00:00 2001 From: vda Date: Wed, 3 Jan 2007 02:56:00 +0000 Subject: convert calloc to xzalloc fix sleep-on-die option git-svn-id: svn://busybox.net/trunk/busybox@17140 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/perror_msg_and_die.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'libbb/perror_msg_and_die.c') diff --git a/libbb/perror_msg_and_die.c b/libbb/perror_msg_and_die.c index 2303ba211..7521e7157 100644 --- a/libbb/perror_msg_and_die.c +++ b/libbb/perror_msg_and_die.c @@ -20,7 +20,5 @@ void bb_perror_msg_and_die(const char *s, ...) va_start(p, s); bb_vperror_msg(s, p); va_end(p); - if (die_sleep) - sleep(die_sleep); - exit(xfunc_error_retval); + sleep_and_die(); } -- cgit v1.2.3-55-g6feb