]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
iptables-apply: Drop unused variable
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Jun 2021 10:50:57 +0000 (12:50 +0200)
committerPhil Sutter <phil@nwl.cc>
Mon, 7 Jun 2021 12:50:27 +0000 (14:50 +0200)
It was assigned to but never read.

Fixes: b45b4e3903414 ("iptables-apply: script and manpage update")
Signed-off-by: Phil Sutter <phil@nwl.cc>
iptables/iptables-apply

index 4683b1b402d08ecf40e408167e6c440c6c51195f..3a7df5e3cbc1fd4426214cad47b35877550a426a 100755 (executable)
@@ -231,7 +231,6 @@ case "$MODE" in
                "$RUNCMD" &
                CMD_PID=$!
                ( sleep "$TIMEOUT"; kill "$CMD_PID" 2>/dev/null; exit 0 ) &
-               CMDTIMEOUT_PID=$!
                if ! wait "$CMD_PID"; then
                        echo "failed."
                        echo "Error: unknown error running command: $RUNCMD" >&2