From 3486435f1111d57b4aa892b51f189f3049ecf17a Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 20:06:27 -0500 Subject: [PATCH] Fixed debug function bug. --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index dac6c76..7165c68 100755 --- a/backup.sh +++ b/backup.sh @@ -36,7 +36,7 @@ SNAPSHOT_DATASETS="" debug() { - if [ -z $BG_DEBUG_MODE -or ! $BG_DEBUG_MODE = "TRUE" ]; then + if [ -z $BG_DEBUG_MODE -o $BG_DEBUG_MODE != "TRUE" ]; then : else echo $@