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.

-- 
Martin Orr


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

Reply via email to