1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 01:41:52 -05:00

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>
This commit is contained in:
Nagy Gabor 2008-07-21 13:57:02 +02:00 committed by Dan McGee
parent 22722261cc
commit 06a4a5bd68

View File

@ -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 */