]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
Revert "tc: flush after each command in batch mode"
authorStephen Hemminger <stephen@networkplumber.org>
Thu, 1 Aug 2019 00:19:18 +0000 (17:19 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 2 Aug 2019 16:34:42 +0000 (09:34 -0700)
This reverts commit d66fdfda71e4a30c1ca0ddb7b1a048bef30fe79e.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/tc.c

diff --git a/tc/tc.c b/tc/tc.c
index 1f23971ae4b9a1ed86a48a1498664c3ed102de0a..c115155b22345d6892f3fbefbee25bfa65775473 100644 (file)
--- a/tc/tc.c
+++ b/tc/tc.c
@@ -405,7 +405,6 @@ static int batch(const char *name)
 
                err = do_cmd(largc, largv, tail == NULL ? NULL : tail->buf,
                             tail == NULL ? 0 : sizeof(tail->buf));
-               fflush(stdout);
                if (err != 0) {
                        fprintf(stderr, "Command failed %s:%d\n", name,
                                cmdlineno - 1);