Tom Lane <t...@sss.pgh.pa.us> wrote: > I think though that the answer to Peter's question is that "stop" > has to be special cased to some extent, because it is not supposed > to be an error to stop a service that's not running. If it's not > even installed, then a fortiori it's not running, so the exit code > *must* be 0 not 5 in that case. Exactly. With Fedora respecting the standard in this regard, I'm convinced we should, too. In reviewing things based on Peter's question, I did start to have doubts about *not* special-casing "status" -- it has its own set of values and 5 is not assigned, so using it seems wrong. It seems like it should be 3 ("program is not running"). Agreed? -Kevin
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers