From f8b1c3ef83a09aa8410e6619c6996b8c9ee0928e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Mon, 3 Feb 2014 12:09:41 +0000 Subject: fetch: disable all progress/log output with --stdout --- src/fetch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/fetch.c') diff --git a/src/fetch.c b/src/fetch.c index d619c41e53..22ea648c0c 100644 --- a/src/fetch.c +++ b/src/fetch.c @@ -241,8 +241,10 @@ static int fetch_main(void *pctx, struct apk_database *db, struct apk_string_arr struct fetch_ctx *ctx = (struct fetch_ctx *) pctx; void *mark = (ctx->flags & FETCH_RECURSIVE) ? mark_name_recursive : mark_name; - if (ctx->flags & FETCH_STDOUT) + if (ctx->flags & FETCH_STDOUT) { apk_flags &= ~APK_PROGRESS; + apk_verbosity = 0; + } if (ctx->outdir_fd == 0) ctx->outdir_fd = AT_FDCWD; -- cgit v1.2.3