+ Fix warn message
This commit is contained in:
parent
2da9abbc7f
commit
312d8321e6
|
@ -206,8 +206,7 @@ sub result {
|
|||
|
||||
$self->check_results();
|
||||
$self->{output}->perfdata_add(label => "time", unit => 'ms',
|
||||
value => sprintf('%.3f', $self->{timeelapsed}));
|
||||
|
||||
value => sprintf('%.3f', $self->{timeelapsed})) if (defined($self->{timeelapsed}));
|
||||
}
|
||||
|
||||
sub run {
|
||||
|
|
Loading…
Reference in New Issue