change test to bring in line with others

This commit is contained in:
Luke 2017-01-26 17:53:53 +00:00
parent c9ada1eac4
commit ef8221372d

View File

@ -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
}