diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 76f8ffb..8efb827 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -95,7 +95,7 @@ $OVPN_ADDITIONAL_CLIENT_CONFIG echo "comp-lzo" fi - if [ "$OVPN_OTP_AUTH" = "1" ]; then + if [ -n "$OVPN_OTP_AUTH" ]; then echo reneg-sec 0 fi }