diff --git a/Shorewall-core/lib.cli b/Shorewall-core/lib.cli index 7c856cbf7..626c803c7 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