summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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 */