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>
Wed, 26 Oct 2011 12:55:38 +0000 (13:55 +0100)
fish/progress.c

index c368bc5..679c831 100644 (file)
@@ -354,4 +354,5 @@ progress_bar_set (struct progress_bar *bar,
 
     fputc ('\n', stdout);
   }
+  fflush (stdout);
 }