Merge pull request #1906 from UrBnW/nsclient

Fix nsclient++ new API
This commit is contained in:
qgarnier 2020-03-27 09:48:56 +01:00 committed by GitHub
commit ce1475acfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ sub output_perf {
my $result = 'UNKNOWN';
$result = $errors_num{$options{result}} if ($options{result} =~ /[0-3]/);
$result = $options{result}if ($options{result} =~ /\w+/);
$result = $options{result} if ($options{result} =~ /[A-Z]+/);
my %result = (
code => $result,