diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-09-07 20:20:03 +0400 |
commit | a9801658ee4b7f5717d145818428452f864e1015 (patch) | |
tree | f85bbdf6cb572751dee639feb9896cad3503b924 /libbb/fflush_stdout_and_exit.c | |
parent | b750dec40a4bf013f98658b46925117d9d1d4811 (diff) |
getty, sulogin: convert to using bb_msg for syslog output
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) if (fflush(stdout)) { retval = bb_default_error_retval; } + if (die_sleep) + sleep(die_sleep); exit(retval); } |