From b816c1aec56d5ff21a333be8d0ee858f2fb95d38 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 23:40:25 -0500 Subject: [PATCH] Some debug improvements. --- backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backup.sh b/backup.sh index 7b801a0..f029325 100755 --- a/backup.sh +++ b/backup.sh @@ -263,14 +263,14 @@ while :; do case "$1" in -t) ZB_TEST_MODE=TRUE - echo Test mode. + debug "Enabled test mode." ;; -v) ZB_VERBOSE=TRUE ZFS_SEND_OPTS="$ZFS_SEND_OPTS -v" # Current on by default. # ZFS_RECV_OPTS="$ZFS_RECV_OPTS -v" - echo Verbose mode. + debug "Enabled terbose mode." ;; --) shift; break ;; esac