Apply Luigi's small fix for IPSET=

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2013-12-18 07:15:24 -08:00
parent 670ecb203b
commit a5e8bc6298

View File

@ -582,7 +582,7 @@ show_routing() {
determine_ipset_version() { determine_ipset_version() {
local setname local setname
if [ -z "$IPSET" -o $IPSET = ipset ]; then if [ -z "$IPSET" -o "$IPSET" = "ipset" ]; then
IPSET=$(mywhich ipset) IPSET=$(mywhich ipset)
[ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located" [ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located"
fi fi