fetch: run quiet when --stdout

Prevent the progressbar and status messages to mess up stdout.
cute-signatures
Natanael Copa 2013-12-10 15:47:56 +01:00
parent 1f8b793471
commit a99bedba6f
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ static int fetch_parse(void *ctx, struct apk_db_options *dbopts,
break; break;
case 's': case 's':
fctx->flags |= FETCH_STDOUT; fctx->flags |= FETCH_STDOUT;
apk_verbosity--;
break; break;
case 'L': case 'L':
fctx->flags |= FETCH_LINK; fctx->flags |= FETCH_LINK;