]> git.ipfire.org Git - people/ms/network.git/commitdiff
ipsec: Fix another bash syntax error
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Jul 2017 16:29:44 +0000 (18:29 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Jul 2017 16:29:44 +0000 (18:29 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index d272681fcdb7c71f3fc85959d1a254756ca8c205..9795e5c6c06f779ab6754b88904631db08a5a9e1 100644 (file)
@@ -278,7 +278,7 @@ ipsec_connection_local() {
 
 # Set the connection mode
 ipsec_connection_mode() {
-       if [ ! $# -eq 2]; then
+       if [ ! $# -eq 2 ]; then
                log ERROR "Not enough arguments"
                return ${EXIT_ERROR}
        fi