Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pacman/conf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pacman/conf.c b/src/pacman/conf.c
index 29e835ce..fe858499 100644
--- a/src/pacman/conf.c
+++ b/src/pacman/conf.c
@@ -563,6 +563,9 @@ static int setup_libalpm(void)
if(config->siglevel != ALPM_SIG_USE_DEFAULT) {
alpm_option_set_default_siglevel(handle, config->siglevel);
}
+ /* retrieve the set or default siglevel from the backend at this point;
+ * this way all future DB settings base their setting off this value */
+ config->siglevel = alpm_option_get_default_siglevel(handle);
if(config->xfercommand) {
alpm_option_set_fetchcb(handle, download_with_xfercommand);