From 5cfa5ef6f358bb979b76f8927899b920074f698d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 23 Apr 2005 01:41:51 +0000 Subject: [PATCH] use bb_fflush_stdout_and_exit instead of exit --- coreutils/printenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/coreutils/printenv.c b/coreutils/printenv.c index 10f9dd22a..753f7cb4d 100644 --- a/coreutils/printenv.c +++ b/coreutils/printenv.c @@ -23,6 +23,7 @@ #include #include #include +#include "busybox.h" int printenv_main(int argc, char **argv) { @@ -48,5 +49,5 @@ int printenv_main(int argc, char **argv) } } - exit(EXIT_SUCCESS); + bb_fflush_stdout_and_exit(); } -- 2.25.1