]> git.proxmox.com Git - pve-manager.git/commitdiff
5to6: only tell to solve problems if fails are present
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jul 2019 13:32:35 +0000 (15:32 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 4 Jul 2019 13:32:44 +0000 (15:32 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
(cherry picked from commit be1072fb3bee0c15fbe67637289ab39adf64b6d7)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/CLI/pve5to6.pm

index 32a9c2641b7ebcc76713033ee376b94f403b2b5e..b0bd531bf4b61cc2ff1f52c5cde250ff22b7daff 100644 (file)
@@ -642,7 +642,7 @@ __PACKAGE__->register_method ({
        if ($counters->{warn} > 0 || $counters->{fail} > 0) {
            my $color = $counters->{fail} > 0 ? 'red' : 'yellow';
            print colored("\nATTENTION: Please check the output for detailed information!\n", $color);
-           print colored("Try to solve the problems one at a time and then run this checklist tool again.\n", $color);
+           print colored("Try to solve the problems one at a time and then run this checklist tool again.\n", $color) if $counters->{fail} > 0;
        }
 
        return undef;