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:
parent
d2c6bf93ae
commit
d1782ebad3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user