abuild-fetch: use _exit after execvp

This commit is contained in:
Natanael Copa 2016-03-10 13:48:54 +00:00
parent 6345accab1
commit 575cece65e

View File

@ -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);