Re: init script exit status
Hi,
On Wed, Jul 04, Theodore Tso wrote:
> Oops, that was an oversight. I believe in the discussion we agreed
> that running stop on a service that was already stopped shouldn't be
> considered an error; hence we added the above-mentioned text.
> However, we failed to remove error code 7 for "program is not
> running" when we did that edit, leading to this inconsistency.
>
> So error code 7 should be removed from sysinit/initactions.sgml.
I don't think that we should remove error code 7 from the list.
What else should we return if somebody runs a init script with
the "reload" argument, but the daemon is not running ?
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Deutschherrenstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Reply to: