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=$? -- pulseaudio init-script fails to restart https://bugs.launchpad.net/bugs/244414 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs