diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 21:10:45 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-16 21:10:45 (EST) |
commit | 226a5653429e962b0100502936342149a9c7fae2 (patch) | |
tree | f9736973efef902419e874c44e458c690885bfb7 /libbb/gz_open.c | |
parent | 7aeac5e4c5468c7b10e90eb70fcd520ebf8f510f (diff) |
Call _exit() and not exit() from within the child process.
git-svn-id: http://opkg.googlecode.com/svn/trunk@325 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb/gz_open.c')
-rw-r--r-- | libbb/gz_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/gz_open.c b/libbb/gz_open.c index 330ba60..f9ee8c1 100644 --- 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")); |