Don't send the gzunp_pid SIGTERM. Waiting for exit should be sufficient.
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Sun, 15 Nov 2009 22:44:38 +0000 (22:44 +0000)
committergraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>
Sun, 15 Nov 2009 22:44:38 +0000 (22:44 +0000)
git-svn-id: http://opkg.googlecode.com/svn/trunk@310 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358

libbb/gz_open.c

index 3107af983531d9881dff026e63b05854120a3a6a..330ba60013e3f3ad2a3a677c8b6d7f2fa59ea578 100644 (file)
@@ -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__);
        }