From d1782ebad3099b4d82463ac8ac5b8b4312ef3091 Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Mon, 3 Apr 2017 14:08:19 +0200 Subject: [PATCH] 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" --- PVE/QemuServer.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm index 4c9c88c..6865d60 100644 --- a/PVE/QemuServer.pm +++ b/PVE/QemuServer.pm @@ -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; -- 2.39.2