From: Richard W.M. Jones Date: Wed, 26 Oct 2011 12:55:38 +0000 (+0100) Subject: Flush stdout for progress bars used by guestfish, virt-resize. X-Git-Tag: 1.12.9~4 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=97de334d4296613349ddc07c6458de12e0c703d4;p=libguestfs.git Flush stdout for progress bars used by guestfish, virt-resize. (cherry picked from commit 178a6d78a84a82cfddbf17678c8c8c2a9d9d0dd2) --- diff --git a/fish/progress.c b/fish/progress.c index 5dd691c..fcef867 100644 --- a/fish/progress.c +++ b/fish/progress.c @@ -342,4 +342,5 @@ progress_bar_set (struct progress_bar *bar, fputc ('\n', stdout); } + fflush (stdout); }