On Wed, Jan 19, 2005 at 10:56:57PM +0100, Thomas Hood wrote:
> 
> "/etc/init.d/foo start" should exit with a nonzero status if foo failed
> to start.  Unfortunately this status isn't conveyed to the user, as you
> say.

That is not exactly true: See 9.4. Console messages from `init.d' scripts

In particular the message end by a dot followed by a newline if and only
if the script is successful.

If you see something like ...

$ /etc/init.d/foo start
Starting foo daemon: foo $ 

... the script failed.

On the other hand, if you get

$ /etc/init.d/foo start
Starting foo daemon: foo.
$

... then the script run correctly.

Cheers,
-- 
Bill. <[EMAIL PROTECTED]>

Imagine a large red swirl here. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to