projects
/
oweals
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Call _exit() and not exit() from within the child process.
[oweals/opkg-lede.git]
/
libbb
/
gz_open.c
diff --git
a/libbb/gz_open.c
b/libbb/gz_open.c
index 330ba60013e3f3ad2a3a677c8b6d7f2fa59ea578..f9ee8c10b53cdde04f2475316b17ae7872afe972 100644
(file)
--- a/
libbb/gz_open.c
+++ b/
libbb/gz_open.c
@@
-48,7
+48,7
@@
extern FILE *gz_open(FILE *compressed_file, int *pid)
fflush(NULL);
fclose(compressed_file);
close(unzip_pipe[1]);
- exit(EXIT_SUCCESS);
+
_
exit(EXIT_SUCCESS);
}
close(unzip_pipe[1]);
return(fdopen(unzip_pipe[0], "r"));