Skip to content

Commit

Permalink
fix: Debug output is enabled despite DEBUG=false
Browse files Browse the repository at this point in the history
Fixes #221
  • Loading branch information
exponentactivity committed May 9, 2024
1 parent ca2214f commit d1ff4ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/chezmoi/chezmoi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d1ff4ad

Please sign in to comment.