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".
In this case the expression should be:

[ "$OMIT_SENDSIGS" -eq 0 ] || blahblah

Cheers

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



--
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