fixes #1103
git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@8765 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
parent
e091dafe35
commit
4d13249926
|
@ -344,7 +344,8 @@ my $force_critical=0;
|
|||
foreach my $List (@o_descrL) {
|
||||
my $test=0;
|
||||
for (my $i=0; $i< $num_int; $i++) {
|
||||
if ( $descr[$i] =~ /$List/i ) { $test++; }
|
||||
if ( !defined($o_noreg) && ($descr[$i] =~ /$List/i) ) { $test++; }
|
||||
if ( defined($o_noreg) && ($descr[$i] eq $List) ) { $test++; }
|
||||
}
|
||||
if ($test==0) {
|
||||
$output .= ", " if defined($output);
|
||||
|
|
Loading…
Reference in New Issue