From a5e8bc62988c66894d54a867b55b53a86a99aa54 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 18 Dec 2013 07:15:24 -0800 Subject: [PATCH] Apply Luigi's small fix for IPSET= Signed-off-by: Tom Eastep --- Shorewall-core/lib.cli | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index b54b33209..63b5619ab 100644 --- a/Shorewall-core/lib.cli +++ b/Shorewall-core/lib.cli @@ -582,7 +582,7 @@ show_routing() { determine_ipset_version() { local setname - if [ -z "$IPSET" -o $IPSET = ipset ]; then + if [ -z "$IPSET" -o "$IPSET" = "ipset" ]; then IPSET=$(mywhich ipset) [ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located" fi