5
0
mirror of git://git.proxmox.com/git/qemu-server.git synced 2025-01-25 06:03:52 +03:00

don't compare booleans

a) because perl isn't THAT bad of a language that you'd need
to do this and b) because JSON::XS version 2.90 "dropped"
this "feature"
This commit is contained in:
Wolfgang Bumiller 2017-04-03 14:08:19 +02:00
parent d2c6bf93ae
commit d1782ebad3

View 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;