fix: Debug output is enabled despite DEBUG=false

Fixes #221
This commit is contained in:
exponentactivity 2024-05-09 17:14:18 +02:00
parent ca2214f05a
commit d1ff4ad5f5
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ set -euo pipefail
# -u = Treat unset variables as errors. Useful for spotting typos.
# -x = Show expanded input for conditional statements.
DEBUG=false
if [[ $DEBUG ]]; then
if [[ $DEBUG == true ]]; then
echo "Running in debug mode. If you didn't enable this yourself, this is a bug."
set -vux
fi