findmnt: flush stdout after each (un)(re)mount event, when polling.

Addresses: karelzak#407
This commit is contained in:
Pedro Miguel Carvalho 2017-01-29 12:03:23 +00:00
parent 6d8a31f6db
commit 18efba189e
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}