mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-27 15:44:21 +02:00
+Fix bug "unitialized value in sprintf"
Probably here since retention management has been introduced. Now it's better
This commit is contained in:
parent
e394365d2c
commit
2785bee808
@ -139,7 +139,7 @@ sub run {
|
|||||||
|
|
||||||
$self->manage_selection();
|
$self->manage_selection();
|
||||||
$self->{output}->output_add(severity => 'OK',
|
$self->{output}->output_add(severity => 'OK',
|
||||||
short_msg => sprintf("No error found since %s seconds%s.", $extra_message));
|
short_msg => sprintf("No error found%s.", $extra_message));
|
||||||
|
|
||||||
my $total_error = 0;
|
my $total_error = 0;
|
||||||
foreach my $errpt_error (sort(keys %{$self->{result}})) {
|
foreach my $errpt_error (sort(keys %{$self->{result}})) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user