mirror of
https://github.com/lephisto/crossover.git
synced 2025-12-06 04:09:20 +01:00
fixed: perf_vm_stopped++ never counted.
This commit is contained in:
@@ -727,8 +727,8 @@ function vm_freeze() {
|
|||||||
status=$(ssh root@"$fhost" qm status "$fvm"|cut -d' ' -f 2)
|
status=$(ssh root@"$fhost" qm status "$fvm"|cut -d' ' -f 2)
|
||||||
if ! [[ "$status" == "running" ]]; then
|
if ! [[ "$status" == "running" ]]; then
|
||||||
log info "VM $fvm - Not running, skipping fsfreeze-freeze"
|
log info "VM $fvm - Not running, skipping fsfreeze-freeze"
|
||||||
return
|
|
||||||
(( perf_vm_stopped++ ))
|
(( perf_vm_stopped++ ))
|
||||||
|
return
|
||||||
else
|
else
|
||||||
(( perf_vm_running++ ))
|
(( perf_vm_running++ ))
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user