use bb_fflush_stdout_and_exit instead of exit

This commit is contained in:
Mike Frysinger 2005-04-23 01:41:51 +00:00
parent de9f1f757a
commit 5cfa5ef6f3

View File

@ -23,6 +23,7 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#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();
}