diff options
author | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-15 17:44:38 (EST) |
---|---|---|
committer | graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358> | 2009-11-15 17:44:38 (EST) |
commit | ec04e0fa180e0ad7c3ba118c2e40bb56663b3903 (patch) | |
tree | 8f341216d91c7eaf5f55271f976a7db42b4aa7fd /libbb | |
parent | a5939d9f5d35ddd634e03ab2d36f5389a37ec150 (diff) |
Don't send the gzunp_pid SIGTERM. Waiting for exit should be sufficient.
git-svn-id: http://opkg.googlecode.com/svn/trunk@310 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/gz_open.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libbb/gz_open.c b/libbb/gz_open.c index 3107af9..330ba60 100644 --- a/libbb/gz_open.c +++ b/libbb/gz_open.c @@ -56,10 +56,6 @@ extern FILE *gz_open(FILE *compressed_file, int *pid) extern void gz_close(int gunzip_pid) { - if (kill(gunzip_pid, SIGTERM) == -1) { - perror_msg_and_die("%s: kill(gunzip_pid)", __FUNCTION__); - } - if (waitpid(gunzip_pid, NULL, 0) == -1) { perror_msg("%s wait", __FUNCTION__); } |