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