On Wed, Jan 19, 2005 at 11:34:24PM +0100, Bill Allombert wrote: > 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.
While true, I hardly consider this to be intuitive to the average user that the script failed to start the requested process. Compared to say a " - Failed" message. -- Jamin W. Collins It has always been Debian's philosophy in the past to stick to what makes sense, regardless of what crack the rest of the universe is smoking. -- Andrew Suffield -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]