Revert "tc: flush after each command in batch mode"
This reverts commit d66fdfda71.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
11120881d9
commit
350bc27cf3
1
tc/tc.c
1
tc/tc.c
|
|
@ -405,7 +405,6 @@ static int batch(const char *name)
|
||||||
|
|
||||||
err = do_cmd(largc, largv, tail == NULL ? NULL : tail->buf,
|
err = do_cmd(largc, largv, tail == NULL ? NULL : tail->buf,
|
||||||
tail == NULL ? 0 : sizeof(tail->buf));
|
tail == NULL ? 0 : sizeof(tail->buf));
|
||||||
fflush(stdout);
|
|
||||||
if (err != 0) {
|
if (err != 0) {
|
||||||
fprintf(stderr, "Command failed %s:%d\n", name,
|
fprintf(stderr, "Command failed %s:%d\n", name,
|
||||||
cmdlineno - 1);
|
cmdlineno - 1);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue