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
eeb56640a8
commit
5cd7c6e78d
|
@ -344,7 +344,8 @@ my $force_critical=0;
|
||||||
foreach my $List (@o_descrL) {
|
foreach my $List (@o_descrL) {
|
||||||
my $test=0;
|
my $test=0;
|
||||||
for (my $i=0; $i< $num_int; $i++) {
|
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) {
|
if ($test==0) {
|
||||||
$output .= ", " if defined($output);
|
$output .= ", " if defined($output);
|
||||||
|
|
Loading…
Reference in New Issue