* Mixed high and low-precedence booleans at line 744, column 6. See
page 70 of PBP. (Severity: 4)
git-svn-id: svn+ssh://vcs-usit.uio.no/svnroot/usit-unix-intern/trunk/usit-nagios-plugins/trondham/check_openmanage@15562
e53b7cee-c147-0410-b3a0-
ae4c1fa63963
# Version and similar info
$NAME = 'check_openmanage';
-$VERSION = '3.5.2-beta1';
+$VERSION = '3.5.2-beta2';
$AUTHOR = 'Trond H. Amundsen';
$CONTACT = 't.h.amundsen@usit.uio.no';
print qq{ERROR: Wrong simultaneous usage of the "--only" and "--check" options\n};
exit $E_UNKNOWN;
}
- if (! exists $check{$opt{only}} and $opt{only} ne 'chassis') {
+ if (! exists $check{$opt{only}} && $opt{only} ne 'chassis') {
print qq{ERROR: "$opt{only}" is not a known keyword for the "--only" option\n};
exit $E_UNKNOWN;
}