Disable bash debug (xtrace) by default, re-enable with -e DEBUG=1
This commit is contained in:
@ -3,7 +3,10 @@
|
||||
#
|
||||
# Get OpenVPN server status
|
||||
#
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
set -ex
|
||||
set -e
|
||||
|
||||
tail -F /tmp/openvpn-status.log
|
||||
|
Reference in New Issue
Block a user