]> git.proxmox.com Git - qemu-server.git/blobdiff - PVE/QemuServer.pm
don't compare booleans
[qemu-server.git] / PVE / QemuServer.pm
index 4c9c88cfa78f991c3097e15f0eea110ca9d93500..6865d60f321f7b2d69c178049d95a3ceb12fd1c9 100644 (file)
@@ -6020,7 +6020,7 @@ sub qemu_drive_mirror_monitor {
                    print "$job: transferred: $transferred bytes remaining: $remaining bytes total: $total bytes progression: $percent % busy: $busy ready: $ready \n";
                }
 
-               $readycounter++ if $running_mirror_jobs->{$job}->{ready} eq 'true';
+               $readycounter++ if $running_mirror_jobs->{$job}->{ready};
            }
 
            last if scalar(keys %$jobs) == 0;