diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-10 13:48:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-03-10 13:48:54 +0000 |
commit | 575cece65ef25dbbba8c3508c97b8c57efbe148d (patch) | |
tree | 47c078328262fd5011eb566564c703d7096d295f | |
parent | 6345accab1f1dcccc0bf82995369d4e3d5a10e9a (diff) | |
download | abuild-575cece65ef25dbbba8c3508c97b8c57efbe148d.tar.gz abuild-575cece65ef25dbbba8c3508c97b8c57efbe148d.tar.bz2 abuild-575cece65ef25dbbba8c3508c97b8c57efbe148d.tar.xz abuild-575cece65ef25dbbba8c3508c97b8c57efbe148d.zip |
abuild-fetch: use _exit after execvp
-rw-r--r-- | abuild-fetch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild-fetch.c b/abuild-fetch.c index 7f6a0ca..aaac7b3 100644 --- a/abuild-fetch.c +++ b/abuild-fetch.c @@ -127,7 +127,7 @@ int fetch(char *url, const char *destdir) execvp(wgetcmd.argv[0], wgetcmd.argv); warn(wgetcmd.argv[0]); unlink(lockfile); - exit(1); + _exit(1); } wait(&status); rename(partfile, outfile); |