Disable bash debug (xtrace) by default, re-enable with -e DEBUG=1
This commit is contained in:
@ -4,7 +4,11 @@
|
||||
# Get an OpenVPN client configuration file
|
||||
#
|
||||
|
||||
set -ex
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
source "$OPENVPN/ovpn_env.sh"
|
||||
cn=$1
|
||||
|
Reference in New Issue
Block a user