diff options
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/fflush_stdout_and_exit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/fflush_stdout_and_exit.c b/libbb/fflush_stdout_and_exit.c index 48889dae8..9f05500f3 100644 --- a/libbb/fflush_stdout_and_exit.c +++ b/libbb/fflush_stdout_and_exit.c | |||
@@ -16,7 +16,7 @@ | |||
16 | void fflush_stdout_and_exit(int retval) | 16 | void fflush_stdout_and_exit(int retval) |
17 | { | 17 | { |
18 | if (fflush(stdout)) | 18 | if (fflush(stdout)) |
19 | xfunc_die(); | 19 | bb_perror_msg_and_die(bb_msg_standard_output); |
20 | 20 | ||
21 | if (ENABLE_FEATURE_PREFER_APPLETS && die_sleep < 0) { | 21 | if (ENABLE_FEATURE_PREFER_APPLETS && die_sleep < 0) { |
22 | /* We are in NOFORK applet. Do not exit() directly, | 22 | /* We are in NOFORK applet. Do not exit() directly, |