Updated debug messages.

This commit is contained in:
Otho 2023-01-16 19:50:55 -05:00
parent 49ad7c4b52
commit 643495d805
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -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
}