diff options
-rwxr-xr-x | usr/local/sbin/ovpn_auth_verify | 2 |
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 |