Fix log message

This commit is contained in:
Thorsten Spille 2023-03-04 22:46:51 +01:00
parent 221fd22ba5
commit 23247bcb9b

View File

@ -179,7 +179,7 @@ for name in "${syncvols[@]}"; do
for snap in $snaps_to_delete; do
if [[ $snap_count -gt $min_keep ]]; then
log "Deleting $snap"
if [[ $debug == "-v" ]]; then log "[DEBUG] delete_count=$delete_count, min_keep=$min_keep"; fi
if [[ $debug == "-v" ]]; then log "[DEBUG] snap_count=$snap_count, min_keep=$min_keep"; fi
$zfs destroy $debug $snap
snap_count=$(expr $snap_count - 1)
else