I'm not sure that just returning the exit value will give you what you
expect because in other patches we have identified that more and more
init.d scripts are going to be running under a "set -e" environment
where a non-zero return value terminates the script, so in your
suggested patch, status $VERSION will terminate if the return value is
non-zero, negating the purpose of exiting with a return value.

See https://wiki.ubuntu.com/InitScriptStatusActions for further
discussion.

-- 
postgre init script is not LSB compliant (for heartbeat, i.e. linux-ha)
https://bugs.launchpad.net/bugs/248939
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

Reply via email to