diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/url.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -91,6 +91,7 @@ int apk_url_download(const char *url, const char *file) if (pid == 0) { setsid(); dup2(open("/dev/null", O_RDONLY), STDIN_FILENO); + unlink(file); execlp("wget", "wget", "-q", "-O", file, url, NULL); exit(0); } |