On Fri, May 19, 2006 at 10:49:49PM +0100, Martin Orr wrote:
> What happens is that when the
> [ -n $VAR ]
> test fails, the shell ignores this for set -e purposes because it is part of
> a && line.  But it still sets $? to 1, so as the last command in 90im-switch
> is of this form it causes the whole script to exit with status 1.
> 
> So the
> . $SESSIONFILE
> command in Xsession returns false and bash exits due to set -e.

Yes.  I found this just before you send this message :-)

I will upload fix.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to