diff --git a/net/net-snmp/files/snmpd.init b/net/net-snmp/files/snmpd.init index dbd84fde55..3714c4c84a 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