From 191b858d1f2a412286153e88a39132415543d583 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 20:05:03 -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 8949354..1ea5ea2 100755 --- a/backup.sh +++ b/backup.sh @@ -36,7 +36,7 @@ SNAPSHOT_DATASETS="" debug() { - if [ -z $BG_DEBUG_MODE || $BG_DEBUG_MODE != "TRUE" ]; then + if [ -z $BG_DEBUG_MODE || ! $BG_DEBUG_MODE = "TRUE" ]; then : else echo $@