On Tue, Dec 20, 2011 at 11:14:58AM +0200, Teodor MICU wrote:
> 2011/12/20 Lionel Elie Mamane <lio...@mamane.lu>:
> > But the behaviour is exactly the contrary. I changed lines like
> >  [ "$OMIT_SENDSIGS" -ne 0 ] || blahblah
> > in /etc/init.d/openvpn to
> >  [ "$OMIT_SENDSIGS" -ne 0 ] && blahblah
> > to fix this.
> 
> The preferable form is to use "||" instead of "&&" so that the
> expression will return always true. This makes it work with "set -e".

Right, that's why there's ||, but messed it up on the first try...

> (I don't know if this is already in the 2.2.1-2 version because it
> didn't reach the mirrors yet)

Yep, it's fixed now.

Cheers,

Alberto

-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to