projects
/
project
/
opkg-lede.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Don't send the gzunp_pid SIGTERM. Waiting for exit should be sufficient.
[project/opkg-lede.git]
/
libbb
/
gz_open.c
diff --git
a/libbb/gz_open.c
b/libbb/gz_open.c
index 3107af983531d9881dff026e63b05854120a3a6a..330ba60013e3f3ad2a3a677c8b6d7f2fa59ea578 100644
(file)
--- 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__);
}