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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/552786

Title:
  initctl: lacks proper exit codes

To manage notifications about this bug go to:
https://bugs.launchpad.net/upstart/+bug/552786/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to