+ Fix warn message

This commit is contained in:
garnier-quentin 2017-03-30 16:14:37 +02:00
parent 2da9abbc7f
commit 312d8321e6
1 changed files with 1 additions and 2 deletions

View File

@ -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 {