diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-16 09:58:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-01-16 09:58:27 +0000 |
commit | 7a50aa61b241e7610ccbad8a119308960d9ddb29 (patch) | |
tree | ea1ee191ac0a1f45d34a31892ff9bd8420ad1ecb /src | |
parent | d8837aa6f4e59be33f305071933274c21f6cb88b (diff) | |
download | apk-tools-7a50aa61b241e7610ccbad8a119308960d9ddb29.tar.gz apk-tools-7a50aa61b241e7610ccbad8a119308960d9ddb29.tar.bz2 apk-tools-7a50aa61b241e7610ccbad8a119308960d9ddb29.tar.xz apk-tools-7a50aa61b241e7610ccbad8a119308960d9ddb29.zip |
url: allow wget report error messages
Diffstat (limited to 'src')
-rw-r--r-- | src/url.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -47,10 +47,9 @@ static int fork_wget(const char *url) if (pid == 0) { setsid(); close(fds[0]); - dup2(open("/dev/null", O_WRONLY), STDERR_FILENO); dup2(open("/dev/null", O_RDONLY), STDIN_FILENO); dup2(fds[1], STDOUT_FILENO); - execlp("wget", "wget", "-O", "-", url, NULL); + execlp("wget", "wget", "-q", "-O", "-", url, NULL); exit(0); } |