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 who
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 Xse
2 matches
Mail list logo