mirror of
https://git.proxmox.com/git/pve-manager
synced 2025-07-25 11:27:04 +00:00
5to6: improve final note on errors and/or warning a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0e788b3e07
commit
c50590ef72
@ -639,8 +639,11 @@ __PACKAGE__->register_method ({
|
||||
print colored("WARNINGS: $counters->{warn}\n", 'yellow');
|
||||
print colored("FAILURES: $counters->{fail}\n", 'red');
|
||||
|
||||
print colored("\nATTENTION: Please check the output for detailed information!\n", 'red')
|
||||
if ($counters->{warn} > 0 || $counters->{fail} > 0);
|
||||
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);
|
||||
}
|
||||
|
||||
return undef;
|
||||
}});
|
||||
|
Loading…
Reference in New Issue
Block a user