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.30-rc1~277^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18efba189eb395a7d4ed30e443d7ee4d74ab65e9;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 aff2847288..3984d440b2 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; }