diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-10 15:47:56 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-10 15:47:56 +0100 |
commit | a99bedba6fa66cc55b30575b32b1359e22cfefb5 (patch) | |
tree | 6fd7f437c55d637f565d300b61f8d0c64d66c029 | |
parent | 1f8b79347187ab0933b595ded32b69217903037c (diff) | |
download | apk-tools-a99bedba6fa66cc55b30575b32b1359e22cfefb5.tar.gz apk-tools-a99bedba6fa66cc55b30575b32b1359e22cfefb5.tar.bz2 apk-tools-a99bedba6fa66cc55b30575b32b1359e22cfefb5.tar.xz apk-tools-a99bedba6fa66cc55b30575b32b1359e22cfefb5.zip |
fetch: run quiet when --stdout
Prevent the progressbar and status messages to mess up stdout.
-rw-r--r-- | src/fetch.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fetch.c b/src/fetch.c index cf2fde7..0c009cd 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -78,6 +78,7 @@ static int fetch_parse(void *ctx, struct apk_db_options *dbopts, break; case 's': fctx->flags |= FETCH_STDOUT; + apk_verbosity--; break; case 'L': fctx->flags |= FETCH_LINK; |