diff --git a/backup.sh b/backup.sh index 78a7175..14478bb 100755 --- a/backup.sh +++ b/backup.sh @@ -37,9 +37,7 @@ SNAPSHOT_DATASETS="" debug() { - if [ -z $BG_DEBUG_MODE -o $BG_DEBUG_MODE != "TRUE" ]; then - : - else + if [ "$BG_DEBUG_MODE" = "TRUE" ]; then echo $@ fi }