mirror of
https://asciireactor.com/o4data/zfs-backup.git
synced 2024-11-24 06:55:06 +00:00
Improved debug messages.
This commit is contained in:
parent
643495d805
commit
d7642270c6
@ -67,11 +67,11 @@ populate_datasets()
|
|||||||
|
|
||||||
if [ $send_dataset ]; then
|
if [ $send_dataset ]; then
|
||||||
SEND_DATASETS="$SEND_DATASETS $dataset"
|
SEND_DATASETS="$SEND_DATASETS $dataset"
|
||||||
debug "Added $dataset for sending."
|
debug "Enabled send for $dataset."
|
||||||
fi
|
fi
|
||||||
if [ $snapshot_dataset ]; then
|
if [ $snapshot_dataset ]; then
|
||||||
SNAPSHOT_DATASETS="$SNAPSHOT_DATASETS $dataset"
|
SNAPSHOT_DATASETS="$SNAPSHOT_DATASETS $dataset"
|
||||||
debug "Added $dataset for snapshot."
|
debug "Enabled snapshot for $dataset."
|
||||||
fi
|
fi
|
||||||
done < datasets.txt
|
done < datasets.txt
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user