aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-16 16:46:20 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-16 16:46:20 +0000
commit2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf (patch)
treeefe37f9b9219150f8f79c842a8e8cc0bd9017acf
parent75e37e4b576950d6c1f843b09e4d57365beaf319 (diff)
downloadrpmtools-2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf.tar
rpmtools-2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf.tar.gz
rpmtools-2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf.tar.bz2
rpmtools-2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf.tar.xz
rpmtools-2f5b85fa0ad41ebc7fe9146dfd0248943d75cdaf.zip
added back kill to child process as some report of locking ?
-rw-r--r--parsehdlist.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parsehdlist.c b/parsehdlist.c
index cfc54be..6b1d97b 100644
--- a/parsehdlist.c
+++ b/parsehdlist.c
@@ -366,6 +366,7 @@ int main(int argc, char **argv)
}
fdClose(fd);
if (pid) {
+ kill(pid, SIGTERM);
waitpid(pid, NULL, 0);
pid = 0;
}