fixed: perf_vm_stopped++ never counted.

This commit is contained in:
2023-07-13 13:54:20 +02:00
parent 1343dc6b51
commit be88cb4d40

View File

@@ -727,8 +727,8 @@ function vm_freeze() {
status=$(ssh root@"$fhost" qm status "$fvm"|cut -d' ' -f 2)
if ! [[ "$status" == "running" ]]; then
log info "VM $fvm - Not running, skipping fsfreeze-freeze"
return
(( perf_vm_stopped++ ))
return
else
(( perf_vm_running++ ))
fi