diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-07 16:20:03 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-09-07 16:20:03 +0000 |
commit | ab24234b35e47e3d44b6fcda07d75a763dc2b33b (patch) | |
tree | f85bbdf6cb572751dee639feb9896cad3503b924 /libbb/fflush_stdout_and_exit.c | |
parent | 309147b2fe10e10c52e8bcec8ba83546c198e320 (diff) | |
download | busybox-w32-ab24234b35e47e3d44b6fcda07d75a763dc2b33b.tar.gz busybox-w32-ab24234b35e47e3d44b6fcda07d75a763dc2b33b.tar.bz2 busybox-w32-ab24234b35e47e3d44b6fcda07d75a763dc2b33b.zip |
getty, sulogin: convert to using bb_msg for syslog output
git-svn-id: svn://busybox.net/trunk/busybox@16065 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/fflush_stdout_and_exit.c')
-rw-r--r-- | libbb/fflush_stdout_and_exit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/fflush_stdout_and_exit.c b/libbb/fflush_stdout_and_exit.c index 7e8152dd6..245f50864 100644 --- a/libbb/fflush_stdout_and_exit.c +++ b/libbb/fflush_stdout_and_exit.c | |||
@@ -20,5 +20,7 @@ void bb_fflush_stdout_and_exit(int retval) | |||
20 | if (fflush(stdout)) { | 20 | if (fflush(stdout)) { |
21 | retval = bb_default_error_retval; | 21 | retval = bb_default_error_retval; |
22 | } | 22 | } |
23 | if (die_sleep) | ||
24 | sleep(die_sleep); | ||
23 | exit(retval); | 25 | exit(retval); |
24 | } | 26 | } |