From 3fc3f564d1870fa5d4a74d8a022519ce9243c52a Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Tue, 13 Apr 2021 12:47:51 -0700 Subject: [PATCH] Add the -w flag to avoid locks if available https://sourceforge.net/p/webadmin/bugs/5475/ --- firewall/firewall-lib.pl | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/firewall/firewall-lib.pl b/firewall/firewall-lib.pl index 9bafbdbc5..28d3e201a 100755 --- a/firewall/firewall-lib.pl +++ b/firewall/firewall-lib.pl @@ -308,6 +308,12 @@ sub create_webmin_init { local $res = &has_command("ip${ipvx}tables-restore"); local $ipt = &has_command("ip${ipvx}tables"); +local $out = &backquote_command("$res -h 2>&1 1 }); }