1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Have pg_ctl return an exit status of 3 if the server is not running, to

match the Linux Standard Base Core Specification 3.1.

Aaron W. Swenson
This commit is contained in:
Bruce Momjian
2011-10-13 13:01:56 -04:00
parent de1bf53a25
commit 12ff9fa771
2 changed files with 12 additions and 5 deletions

View File

@ -205,7 +205,8 @@ PostgreSQL documentation
<option>status</option> mode checks whether a server is running in
the specified data directory. If it is, the <acronym>PID</acronym>
and the command line options that were used to invoke it are
displayed.
displayed. If the server is not running, the process returns an
exit status of 3.
</para>
<para>