diff options
author | Francois Pons <fpons@mandriva.com> | 2001-03-07 15:34:32 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-03-07 15:34:32 +0000 |
commit | a79b48256aca8870493d7e8e5a14dcde4865d361 (patch) | |
tree | 88a2fcd696cfa0aded176c34782b010523cf52ed /parsehdlist.c | |
parent | 0c40d63052597530da8ed3ad6a5dde3148c56c91 (diff) | |
download | rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.gz rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.bz2 rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.tar.xz rpmtools-a79b48256aca8870493d7e8e5a14dcde4865d361.zip |
*** empty log message ***
Diffstat (limited to 'parsehdlist.c')
-rw-r--r-- | parsehdlist.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/parsehdlist.c b/parsehdlist.c index 62cdeb4..46bfe6b 100644 --- a/parsehdlist.c +++ b/parsehdlist.c @@ -2,6 +2,7 @@ #include <sys/wait.h> #include <sys/stat.h> #include <fcntl.h> +#include <signal.h> #include <errno.h> #include <rpm/rpmlib.h> #include <rpm/header.h> @@ -334,6 +335,7 @@ int main(int argc, char **argv) } fdClose(fd); if (pid) { + kill(pid, SIGTERM); waitpid(pid, NULL, 0); pid = 0; } |