From 6b81419d3870f2755291146612745fbe02d97a98 Mon Sep 17 00:00:00 2001 From: Jason Ertel Date: Wed, 30 Dec 2020 22:02:19 -0500 Subject: [PATCH] tcpreplay doesn't need an interactive terminal to run, remove 'it' --- salt/common/tools/sbin/so-tcpreplay | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-tcpreplay b/salt/common/tools/sbin/so-tcpreplay index 3f5c0aead..fa992bdd8 100755 --- a/salt/common/tools/sbin/so-tcpreplay +++ b/salt/common/tools/sbin/so-tcpreplay @@ -54,6 +54,6 @@ if ! docker ps | grep -q so-tcpreplay; then fi echo "Replaying PCAP(s) at ${REPLAYSPEED} Mbps on interface ${REPLAYIFACE}..." -docker exec -it so-tcpreplay /usr/bin/bash -c "/usr/local/bin/tcpreplay -i ${REPLAYIFACE} -M${REPLAYSPEED} $@" +docker exec so-tcpreplay /usr/bin/bash -c "/usr/local/bin/tcpreplay -i ${REPLAYIFACE} -M${REPLAYSPEED} $@" echo "Replay completed. Warnings shown above are typically expected."