aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}