From 643495d8058e02ad2f7b0405366ed217777a9db3 Mon Sep 17 00:00:00 2001 From: Otho Date: Mon, 16 Jan 2023 19:50:55 -0500 Subject: [PATCH] Updated debug messages. --- backup.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/backup.sh b/backup.sh index 656e18d..0408b16 100755 --- a/backup.sh +++ b/backup.sh @@ -54,25 +54,24 @@ populate_datasets() case $option in "nosnap"* ) snapshot_dataset="" - debug "Disabled snapshot of $dataset." ;; "nosend"* ) send_dataset="" - debug "Disabled send of $dataset." ;; "remotezfs="*) remotezfs=`echo $option|cut -d'=' -f2` dataset="$dataset:$remotezfs" - debug "Set remote dataset for $dataset." ;; esac done if [ $send_dataset ]; then SEND_DATASETS="$SEND_DATASETS $dataset" + debug "Added $dataset for sending." fi if [ $snapshot_dataset ]; then SNAPSHOT_DATASETS="$SNAPSHOT_DATASETS $dataset" + debug "Added $dataset for snapshot." fi done < datasets.txt }