summaryrefslogtreecommitdiff
path: root/src/pacman/callback.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/callback.c')
-rw-r--r--src/pacman/callback.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pacman/callback.c b/src/pacman/callback.c
index 506692f0..8c0fab55 100644
--- a/src/pacman/callback.c
+++ b/src/pacman/callback.c
@@ -528,10 +528,11 @@ void cb_progress(alpm_progress_t event, const char *pkgname, int percent,
if(percent == 100) {
alpm_list_t *i = NULL;
on_progress = 0;
+ fflush(stdout);
for(i = output; i; i = i->next) {
- fputs((const char *)i->data, stdout);
+ fputs((const char *)i->data, stderr);
}
- fflush(stdout);
+ fflush(stderr);
FREELIST(output);
} else {
on_progress = 1;