Comment 2 for bug 244414

Revision history for this message
Aron Griffis (agriffis) wrote :

Because of sh -e, the script should abort immediately if start-stop-daemon returns non-zero status. To avoid that for the sake of error reporting, the provided patch could be modified as:

start-stop-daemon -p $PIDFILE --stop --retry TERM/3 || status=$?