[Buildroot] [PATCH v3 1/2] netsnmp: fix stop and restart actions in init script
Peter Korsgaard
jacmet at uclibc.org
Sun Sep 11 21:09:15 UTC 2011
>>>>> "Luca" == Luca Ceresoli <luca at lucaceresoli.net> writes:
Luca> /etc/init.d/S59snmpd stop (and restart) currently fail if either
Luca> snmpd or snmptrapd are not running. This is because
Luca> start-stop-daemon -K returns nonzero if the process to be killed
Luca> is not running, and this causes the whole script to fail because
Luca> it runs under 'set -e'.
Committed. thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list