index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 16:02:01 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-02-09 16:02:01 +0000 |
commit | d8fd645c4c5aff5042da158d2471a2f72c443aad (patch) | |
tree | 6f8a76f1afcc3e4c8ce7ee0ca3ceb739b00fd361 /src/pacman/log.c | |
parent | 4e0b649c3af6deeb6fcf765deaa3dc9b2f68452d (diff) |
-rw-r--r-- | src/pacman/log.c | 4 |
diff --git a/src/pacman/log.c b/src/pacman/log.c index 4bed22ae..e33001b3 100644 --- a/src/pacman/log.c +++ b/src/pacman/log.c @@ -173,7 +173,9 @@ int yesno(char *fmt, ...) va_start(args, fmt); vsnprintf(str, LOG_STR_LEN, fmt, args); va_end(args); - pm_fprintf(stderr, NL, str); + + /* Use stderr so questions are always displayed when redirecting output */ + ERR(NL, str); if(fgets(response, 32, stdin)) { /* trim whitespace and newlines */ |