mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-28 16:14:21 +02:00
Fix nsclient++ new API
This commit is contained in:
parent
69f5253687
commit
d8d8952668
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user