summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-03-10 13:48:54 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-03-10 13:48:54 +0000
commit575cece65ef25dbbba8c3508c97b8c57efbe148d (patch)
tree47c078328262fd5011eb566564c703d7096d295f
parent6345accab1f1dcccc0bf82995369d4e3d5a10e9a (diff)
downloadabuild-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.c2
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);