From 4f20be3efc3b68fba3756905dbf7af9a372ab50b Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Thu, 3 Sep 2026 16:42:51 +0100 Subject: [PATCH] Fix setting default v4 firewall. --- initscript-firewall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initscript-firewall b/initscript-firewall index cf00b53..3b82064 100755 --- a/initscript-firewall +++ b/initscript-firewall @@ -31,7 +31,7 @@ states_restore() { # Restore the saved (or default) v4 firewall state. iptables-restore "$RULES_DIR/$STATE_V4" 2>/dev/null || { printf "%s: %s" "${0##*/}" "failed to restore saved" >&2 - if iptables-restore "$$RULES_DIR/DEFAULT_V4" 2>/dev/null; then + if iptables-restore "$RULES_DIR/$DEFAULT_V4" 2>/dev/null; then printf "%s" ", only default" >&2 else printf " %s" "and default" >&2