[Bug 203169] Re: "status" function for init scripts

Onno Benschop onno at itmaze.com.au
Wed Dec 3 23:29:18 GMT 2008


On 04/12/08 08:03, Dennis Pattmann wrote:
> Hi Onno,
>
> I don't use "exit 0 || exit $?" because I would like to check all
> Daemons, and if the ybserv maybe don't run the script will exit without
> checking the other daemons like ypbind
>
>   
You do realise that most scripts are running under a set -e environment
and will terminate when the exit status is not 0, so, checking other
daemons will not actually happen in the way you think it will.

-- 
Onno Benschop

Connected via Optus B3 at S31°54'06" - E115°50'39" (Yokine, WA)
--
()/)/)()        ..ASCII for Onno..
|>>?            ..EBCDIC for Onno..
--- -. -. ---   ..Morse for Onno..

ITmaze   -   ABN: 56 178 057 063   -  ph: 04 1219 8888   -
onno at itmaze.com.au

-- 
"status" function for init scripts
https://bugs.launchpad.net/bugs/203169
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.



More information about the Ubuntu-server-bugs mailing list