From 5ca13f983aeee657c3ce76a87ef22d1582cc1db1 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 22:44:37 -0500 Subject: [PATCH] Updated name of verbose mode. --- backup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backup.sh b/backup.sh index 382ddc6..e7205ae 100755 --- a/backup.sh +++ b/backup.sh @@ -34,7 +34,7 @@ SNAPSHOT_DATASETS="" debug() { - if [ "$ZB_DEBUG_MODE" = "TRUE" ]; then + if [ "$ZB_VERBOSE" = "TRUE" ]; then echo $@ fi } @@ -261,12 +261,12 @@ while :; do ZB_TEST_MODE=TRUE echo Test mode. ;; - -d) - ZB_DEBUG_MODE=TRUE + -v) + ZB_VERBOSE=TRUE ZFS_SEND_OPTS="$ZFS_SEND_OPTS -v" # Current on by default. # ZFS_RECV_OPTS="$ZFS_RECV_OPTS -v" - echo Debug mode. + echo Verbose mode. ;; --) shift; break ;; esac