]> git.ipfire.org Git - people/stevee/network.git/commitdiff
ipsec: Fix another shell syntax error
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Jul 2017 17:01:11 +0000 (19:01 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Jul 2017 17:01:11 +0000 (19:01 +0200)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.ipsec

index f4bc7a2e5291b5ab4b48f79c851c57016206a1aa..cd1a50a1d7fc73cdf9d19400f4bfa0e966758379 100644 (file)
@@ -330,7 +330,7 @@ ipsec_connection_authentication_mode() {
 
 # Set the psk
 ipsec_connection_authentication_psk() {
-       if [ ! $# -eq 2]; then
+       if [ ! $# -eq 2 ]; then
                log ERROR "Not enough arguments"
                return ${EXIT_ERROR}
        fi