Improved debug message.

This commit is contained in:
Otho 2023-01-16 19:53:42 -05:00
parent 6e108f6677
commit f90feebaae
Signed by: Otho
GPG Key ID: 16C720CD3BBE21D9

View File

@ -190,8 +190,7 @@ send_latest()
for dataset in $SEND_DATASETS; do
dataset="`echo $dataset|cut -d':' -f1`"
remote_dataset="`echo $dataset|cut -d':' -f2`"
debug "dataset: $dataset"
debug "remote dataset: $remote_dataset"
debug "Processing $dataset (remote $remote_dataset)."
origin_snapshot=`get_latest_snapshot $dataset`
if [ $BG_TEST_MODE = "TRUE" ]; then
echo zfs send $ZFS_SEND_OPTS $dataset@$origin_snapshot \| \