From c26866864f4ab4e9050a0acc26edfc83d2df246d Mon Sep 17 00:00:00 2001 From: Pedro Miguel Carvalho Date: Sun, 29 Jan 2017 12:03:23 +0000 Subject: [PATCH] findmnt: flush stdout after each (un)(re)mount event, when polling. Addresses: karelzak#407 --- misc-utils/findmnt.c | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.47.2