]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: Fix typo in variable check
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 21:03:03 +0000 (21:03 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 4 Aug 2017 21:03:03 +0000 (21:03 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index f6d4fd320222720b63660961b64352726cd8b11c..7c6f8bbffe694c7a7e0558d16763551197f9c0f9 100644 (file)
@@ -371,7 +371,7 @@ ipsec_reload() {
                return ${EXIT_ERROR}
        fi
 
-       if enabled ${ENABLED}; then
+       if enabled ENABLED; then
                if ! ipsec_connection_to_strongswan ${connection}; then
                        log ERROR "Could not generate strongswan config for ${connnection}"
                        return ${EXIT_ERROR}