Blame SOURCES/0010-iptables-apply-Drop-unused-variable.patch

3a00e5
From b12c597d663462d101ea5ab114f7a499065eb9b2 Mon Sep 17 00:00:00 2001
3a00e5
From: Phil Sutter <phil@nwl.cc>
3a00e5
Date: Wed, 2 Jun 2021 12:50:57 +0200
3a00e5
Subject: [PATCH] iptables-apply: Drop unused variable
3a00e5
3a00e5
It was assigned to but never read.
3a00e5
3a00e5
Fixes: b45b4e3903414 ("iptables-apply: script and manpage update")
3a00e5
Signed-off-by: Phil Sutter <phil@nwl.cc>
3a00e5
(cherry picked from commit 084671d5acaaf749648e828c2ed3b319de651764)
3a00e5
---
3a00e5
 iptables/iptables-apply | 1 -
3a00e5
 1 file changed, 1 deletion(-)
3a00e5
3a00e5
diff --git a/iptables/iptables-apply b/iptables/iptables-apply
3a00e5
index 4683b1b402d08..3a7df5e3cbc1f 100755
3a00e5
--- a/iptables/iptables-apply
3a00e5
+++ b/iptables/iptables-apply
3a00e5
@@ -231,7 +231,6 @@ case "$MODE" in
3a00e5
 		"$RUNCMD" &
3a00e5
 		CMD_PID=$!
3a00e5
 		( sleep "$TIMEOUT"; kill "$CMD_PID" 2>/dev/null; exit 0 ) &
3a00e5
-		CMDTIMEOUT_PID=$!
3a00e5
 		if ! wait "$CMD_PID"; then
3a00e5
 			echo "failed."
3a00e5
 			echo "Error: unknown error running command: $RUNCMD" >&2
3a00e5
-- 
3a00e5
2.31.1
3a00e5