From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2) Gecko/20021203
Description of problem:
Last line of /etc/rc.d/init.d/postgresql says:
This should be changed to
in order to get correct exit values when server is running/stopped/dead/etc.
Correct exit value is important for scripts and all other init scripts uses
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start and stop postgresql via init script
2. /etc/init.d/postgresql status
Actual Results: exit value is always 0.
Expected Results: exit value should depend on server state.
So, what's the story here?
I am looking into this.
Done in PostgreSQL 8.0 version of init script.