mirror of
https://gitlab.com/shorewall/code.git
synced 2025-01-29 00:49:34 +01:00
Correct IPSET expansion
This commit is contained in:
parent
b3943da5c9
commit
94675d7099
@ -349,7 +349,7 @@ sub generate_script_3($) {
|
||||
' [ -x "$IPSET" ] || fatal_error "IPSET=$IPSET does not exist or is not executable"',
|
||||
' ;;',
|
||||
' *)',
|
||||
' IPSET="$(which ipset)"',
|
||||
' IPSET="$(which $IPSET)"',
|
||||
' [ -n "$IPSET" ] || fatal_error "The ipset utility cannot be located"' ,
|
||||
' ;;',
|
||||
'esac',
|
||||
|
Loading…
Reference in New Issue
Block a user