Fix log message
This commit is contained in:
parent
221fd22ba5
commit
23247bcb9b
@ -179,7 +179,7 @@ for name in "${syncvols[@]}"; do
|
|||||||
for snap in $snaps_to_delete; do
|
for snap in $snaps_to_delete; do
|
||||||
if [[ $snap_count -gt $min_keep ]]; then
|
if [[ $snap_count -gt $min_keep ]]; then
|
||||||
log "Deleting $snap"
|
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
|
$zfs destroy $debug $snap
|
||||||
snap_count=$(expr $snap_count - 1)
|
snap_count=$(expr $snap_count - 1)
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user