Flush stdout for progress bars used by guestfish, virt-resize.
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 26 Oct 2011 12:55:38 +0000 (13:55 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 31 Oct 2011 08:50:37 +0000 (08:50 +0000)
(cherry picked from commit 178a6d78a84a82cfddbf17678c8c8c2a9d9d0dd2)

fish/progress.c

index 5dd691c..fcef867 100644 (file)
@@ -342,4 +342,5 @@ progress_bar_set (struct progress_bar *bar,
 
     fputc ('\n', stdout);
   }
+  fflush (stdout);
 }