summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-07-21 13:57:02 +0200
committerDan McGee <dan@archlinux.org>2008-07-22 19:49:30 -0500
commit06a4a5bd6827fc300669c0237c26ae979eb7c1c0 (patch)
tree73590143467a885f500cdb4da3de8066f26f5639 /src
parent22722261cc5bd2276e657300ea7dcbcec5381970 (diff)
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 <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c2
1 files changed, 1 insertions, 1 deletions
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 */