* Made the "ALL" keyword in blacklisting case insensitive
git-svn-id: svn+ssh://vcs-usit.uio.no/svnroot/usit-unix-intern/trunk/usit-nagios-plugins/trondham/check_openmanage@16157
e53b7cee-c147-0410-b3a0-
ae4c1fa63963
# Version and similar info
$NAME = 'check_openmanage';
-$VERSION = '3.5.4-beta3';
+$VERSION = '3.5.4-beta4';
$AUTHOR = 'Trond H. Amundsen';
$CONTACT = 't.h.amundsen@usit.uio.no';
if (defined $blacklist{$name}) {
foreach my $comp (@{ $blacklist{$name} }) {
- if (defined $id and ($comp eq $id or $comp eq 'ALL')) {
+ if (defined $id and ($comp eq $id or uc($comp) eq 'ALL')) {
$ret = 1;
}
}