fix problem with conditions....

git-svn-id: http://svn.centreon.com/trunk/plugins-2.x@13081 6bcd3966-0018-0410-8128-fd23d134de7e
This commit is contained in:
Julien Mathis 2012-06-07 09:15:11 +00:00
parent b09a15d757
commit 192429040d
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ if ($critical <= $warning){
print_usage();
exit $ERRORS{'OK'};
}
if ($opt_64bits && ($snmp !~ /2/ || $snmp !~ /3/)) {
if ($opt_64bits && $snmp !~ /2/ && $snmp !~ /3/) {
print "Error : Usage : SNMP v2/v3 is required with option --64-bits\n";
exit $ERRORS{'UNKNOWN'};
}