From: Pedro Miguel Carvalho Date: Sun, 29 Jan 2017 12:03:23 +0000 (+0000) Subject: findmnt: flush stdout after each (un)(re)mount event, when polling. X-Git-Tag: v2.29.2~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c26866864f4ab4e9050a0acc26edfc83d2df246d;p=thirdparty%2Futil-linux.git findmnt: flush stdout after each (un)(re)mount event, when polling. Addresses: karelzak#407 --- diff --git a/misc-utils/findmnt.c b/misc-utils/findmnt.c index ea4d23d8e1..eb6435f85e 100644 --- a/misc-utils/findmnt.c +++ b/misc-utils/findmnt.c @@ -1142,6 +1142,7 @@ static int poll_table(struct libmnt_table *tb, const char *tabfile, if (count) { rc = scols_table_print_range(table, NULL, NULL); + fflush(stdout); if (rc) goto done; }