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