mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
use bb_fflush_stdout_and_exit instead of exit
This commit is contained in:
parent
de9f1f757a
commit
5cfa5ef6f3
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user