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:
parent
b09a15d757
commit
192429040d
|
@ -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'};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue