tc: fflush after each command in batch mode

Restore behaviour of tc batch mode.
Flush stdout after each command.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
Stephen Hemminger 2019-08-02 09:33:39 -07:00
parent e991c04d64
commit 4dd599fdb8
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ static int batch(const char *name)
if (!force) if (!force)
break; break;
} }
fflush(stdout);
} }
free(line); free(line);