From ef8221372da69a704f6eb9b2b20190a8b9b90e6b Mon Sep 17 00:00:00 2001 From: Luke Date: Thu, 26 Jan 2017 17:53:53 +0000 Subject: [PATCH] change test to bring in line with others --- bin/ovpn_getclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }