From 06a4a5bd6827fc300669c0237c26ae979eb7c1c0 Mon Sep 17 00:00:00 2001 From: Nagy Gabor Date: Mon, 21 Jul 2008 13:57:02 +0200 Subject: Re-enable --debug with -Sw and -Sp Commit 874190827676e3a974e8c5fef6c51b9e9d6b60fa disabled --debug in these cases. We just clear PM_LOG_WARNING flag now. Signed-off-by: Nagy Gabor Signed-off-by: Dan McGee --- src/pacman/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pacman') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index fdc5ed09..78777fca 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -736,7 +736,7 @@ int pacman_sync(alpm_list_t *targets) /* Display only errors with -Sp and -Sw operations */ if(config->flags & (PM_TRANS_FLAG_DOWNLOADONLY | PM_TRANS_FLAG_PRINTURIS)) { - config->logmask = PM_LOG_ERROR; + config->logmask &= ~PM_LOG_WARNING; } /* clean the cache */ -- cgit v1.2.3-70-g09d2