From 6af16e0cda201ef3c967b7d750cd5333ff8f44f2 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Sun, 14 Oct 2012 13:26:08 -0700 Subject: [PATCH] Allow quotes in parameter to run_iptables() Signed-off-by: Tom Eastep --- Shorewall/Perl/lib.core | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/lib.core b/Shorewall/Perl/lib.core index 68effbd92..d03628e25 100644 --- a/Shorewall/Perl/lib.core +++ b/Shorewall/Perl/lib.core @@ -430,7 +430,7 @@ run_iptables() local status while [ 1 ]; do - $g_tool $@ + eval $g_tool $@ status=$? [ $status -ne 4 ] && break done