also sprach Yaroslav Halchenko <[EMAIL PROTECTED]> [2006.06.07.2020 +0200]:
> /etc/init.d/skeleton
> states:
> # Do NOT "set -e"
> since it would cause the script to fail on any failed call to
> function/command, which it shouldn't do but rather process return value.

This is horrible.

> failingfunc
> [ $? -ne 2 ] || echo HERE1
> echo HERE2

mh. don't code stuff like this then. :)

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to