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   -
[EMAIL PROTECTED]

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to