summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-10 15:47:56 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-10 15:47:56 +0100
commita99bedba6fa66cc55b30575b32b1359e22cfefb5 (patch)
tree6fd7f437c55d637f565d300b61f8d0c64d66c029
parent1f8b79347187ab0933b595ded32b69217903037c (diff)
downloadapk-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.c1
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;