summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2006-11-03 04:56:02 +0100
committerAaron Griffin <aaron@archlinux.org>2006-11-03 04:56:02 +0100
commit9b4aabdb0f0906f9cc2f38954d048d5e917db093 (patch)
tree11b7ed31ef8728f85f800fd0daa4bafc0c532324 /src/pacman/pacman.c
parentfbf1aa653984be4a15714a0efe3acf756daf2d57 (diff)
downloadpacman-9b4aabdb0f0906f9cc2f38954d048d5e917db093.tar.gz
pacman-9b4aabdb0f0906f9cc2f38954d048d5e917db093.tar.xz
* Modified some error output and logging
* Changed the initial log mask (added PM_LOG_ERROR) * Fixed -Syu so it now works if any databases were downloaded (it was working like a -Su)
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index d35c8be0..9259cf9d 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -455,6 +455,7 @@ int main(int argc, char *argv[])
/* init config data */
config = config_new();
config->op = PM_OP_MAIN;
+ config->debug |= PM_LOG_ERROR;
config->debug |= PM_LOG_WARNING;
/* disable progressbar if the output is redirected */
if(!isatty(1)) {