Re: Change 'pg_ctl: no server running' Exit Status to 3

Peter Eisentraut <peter_e@gmx.net>

From: Peter Eisentraut <peter_e@gmx.net>
To: "Aaron W. Swenson" <aaron.w.swenson@gmail.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-06-03T20:09:00Z
Lists: pgsql-hackers
On mån, 2011-05-23 at 20:50 -0400, Aaron W. Swenson wrote:
> According to Linux Standard Base Core Specification 3.1 [1], the exit
> status should be '3' when the server isn't running.
> 
> I've attached a very simple patch that resolves this cosmetic issue,
> which applies to all branches.

If we're going to make the exit status meaningful, it should probably be
added to the documentation.