commit e9f50ca103acfb10afb6a2c93f261560d01387c0
parent 6b0a42ed047c3a9f9719294c64285b131a3d736e
Author: Russ Cox <rsc@swtch.com>
Date: Wed, 22 Aug 2007 11:24:34 -0400
9.rc: change to work with rc -e (Tony Lainson)
Change sense of test at end of 9.rc so that
when invoked with no arguments the test still
evaluates true, so that it works well with rc -e.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/9.rc b/bin/9.rc
@@ -5,4 +5,4 @@ if(~ $#PLAN9 0)
if(! ~ $path(1) $PLAN9/bin)
path=($PLAN9/bin $path)
-! ~ $#* 0 && exec $*
+~ $#* 0 || exec $*