summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin/ovpn_auth_verify
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/sbin/ovpn_auth_verify')
-rwxr-xr-xusr/local/sbin/ovpn_auth_verify2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ovpn_auth_verify b/usr/local/sbin/ovpn_auth_verify
index ddfd844..81aa08e 100755
--- a/usr/local/sbin/ovpn_auth_verify
+++ b/usr/local/sbin/ovpn_auth_verify
@@ -7,7 +7,7 @@ else
RESULT = $(/usr/local/sbin/fcgicli -f /etc/inc/openvpn.auth-user.php -d "username=$username&password=$password&cn=$common_name&strictcn=$3&authcfg=$2&modeid=$4")
fi
-if [ "${RESULT} = "OK" ]; then
+if [ "${RESULT}" = "OK" ]; then
exit 0
fi
OpenPOWER on IntegriCloud