summaryrefslogtreecommitdiffstats
path: root/libbb/gz_open.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/gz_open.c')
-rw-r--r--libbb/gz_open.c2
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"));