Comment 14 for bug 552786

Revision history for this message
David Britton (dpb) wrote :

The following patch to service fixes it for precise. This may not be the most graceful, but this bug is really annoying. Could we get something pushed through?

121c121,128
< start|stop|status|reload)
---
> status)
> # Make sure status only succeeds in the started case
> result=`${ACTION} ${SERVICE} ${OPTIONS}`
> echo $result
> echo "$result" | grep -q "start/waiting"
> exit $?
> ;;
> start|stop|reload)