Fixed debug function bug.

This commit is contained in:
Otho 2023-01-16 20:04:43 -05:00
parent 5c425e4832
commit c36513b80b
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -36,7 +36,9 @@ SNAPSHOT_DATASETS=""
debug()
{
if [ $BG_DEBUG_MODE = "TRUE" ]; then
if [ -z $BG_DEBUG_MODE || $BG_DEBUG_MODE != "TRUE" ]; then
:
else
echo $@
fi
}