Disable bash debug (xtrace) by default, re-enable with -e DEBUG=1
This commit is contained in:
@ -4,7 +4,11 @@
|
||||
# Import/export EasyRSA default settings
|
||||
#
|
||||
|
||||
set -ex
|
||||
if [ "$DEBUG" == "1" ]; then
|
||||
set -x
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "No command provided"
|
||||
|
Reference in New Issue
Block a user