git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@8765 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Nikolaus Filus 2009-08-04 12:15:34 +00:00
parent e091dafe35
commit 4d13249926
1 changed files with 2 additions and 1 deletions

View File

@ -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);