findmnt: flush stdout after each (un)(re)mount event, when polling.
Addresses: karelzak#407
This commit is contained in:
parent
6d8a31f6db
commit
18efba189e
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue