From a99bedba6fa66cc55b30575b32b1359e22cfefb5 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 10 Dec 2013 15:47:56 +0100 Subject: fetch: run quiet when --stdout Prevent the progressbar and status messages to mess up stdout. --- src/fetch.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-70-g09d2