diff options
Diffstat (limited to 'include/tests_snmp')
-rw-r--r-- | include/tests_snmp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_snmp b/include/tests_snmp index f68d7908..3398efa3 100644 --- a/include/tests_snmp +++ b/include/tests_snmp @@ -74,7 +74,7 @@ # # Test : SNMP-3306 # Description : Determine SNMP communities - if [ ! "${SNMP_DAEMON_CONFIG}" = "" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi + if [ ! -z "${SNMP_DAEMON_CONFIG}" ]; then PREQS_MET="YES"; else PREQS_MET="NO"; fi Register --test-no SNMP-3306 --preqs-met ${PREQS_MET} --weight L --network NO --category security --description "Check SNMP communities" if [ ${SKIPTEST} -eq 0 ]; then WARN=0 |