diff --git a/net/net-snmp/files/snmpd.init b/net/net-snmp/files/snmpd.init index e28e54ec8ce38..78df7c9a2bda6 100644 --- a/net/net-snmp/files/snmpd.init +++ b/net/net-snmp/files/snmpd.init @@ -233,7 +233,7 @@ snmpd_sink_add() { local host config_get host "$cfg" host - [ -n "section" -a -n "$host" ] || return 0 + [ -n "$section" -a -n "$host" ] || return 0 # optional community config_get community "$cfg" community # optional port