summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-06-02 12:50:57 +0200
committerPhil Sutter <phil@nwl.cc>2021-06-07 14:50:27 +0200
commit084671d5acaaf749648e828c2ed3b319de651764 (patch)
treeaf8a9eab6f71081a896bcb304e7d4aee39711ca5 /iptables
parent0729ab37c5d90b78dd3bc8c9addb8a1c60708eff (diff)
iptables-apply: Drop unused variable
It was assigned to but never read. Fixes: b45b4e3903414 ("iptables-apply: script and manpage update") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables')
-rwxr-xr-xiptables/iptables-apply1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/iptables-apply b/iptables/iptables-apply
index 4683b1b4..3a7df5e3 100755
--- a/iptables/iptables-apply
+++ b/iptables/iptables-apply
@@ -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