From d1ff4ad5f5c56c6f94cd2e4fbb394bdda64a18da Mon Sep 17 00:00:00 2001 From: exponentactivity <18619090+exponentactivity@users.noreply.github.com> Date: Thu, 9 May 2024 17:14:18 +0200 Subject: [PATCH] fix: Debug output is enabled despite DEBUG=false Fixes #221 --- modules/chezmoi/chezmoi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/chezmoi/chezmoi.sh b/modules/chezmoi/chezmoi.sh index 5fce19b..39cc57c 100644 --- a/modules/chezmoi/chezmoi.sh +++ b/modules/chezmoi/chezmoi.sh @@ -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