From e959dca04853c4046417f48c5310d487dd5dbc65 Mon Sep 17 00:00:00 2001 From: Nui Narongwet Date: Sat, 21 Feb 2015 02:46:50 +0700 Subject: [PATCH] Return correct exit status --- bin/ovpn_getclient | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/ovpn_getclient b/bin/ovpn_getclient index 4aa4acf..93887f3 100755 --- a/bin/ovpn_getclient +++ b/bin/ovpn_getclient @@ -44,4 +44,6 @@ if [ "$OVPN_DEFROUTE" != "0" ];then echo "redirect-gateway def1" fi -[ -n "$OVPN_MTU" ] && echo "tun-mtu $OVPN_MTU" +if [ -n "$OVPN_MTU" ]; then + echo "tun-mtu $OVPN_MTU" +fi