Closed fiftydinar closed 1 month ago
@exponentactivity Here's another ping heh
It seems that if [[ $DEBUG ]]; then
here just assumes if variable is empty or not, while
if $DEBUG; then
assumes if variable is set to true.
Thanks for reporting! I'm just waiting for my other PR to be merged and i will push a solution for this.
It's a bit embarrassing, i fixed several of the same problems in my initial PR and missed this. My brain becomes like teflon when it needs to remember bash syntax.
I didn't enable this, yet it prints every executed command in logs.
Bug probably resides here:
While $DEBUG string here means "true", it somehow didn't catch that. Maybe doing something like this will solve this problem: