From e9f50ca103acfb10afb6a2c93f261560d01387c0 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Wed, 22 Aug 2007 11:24:34 -0400 Subject: 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. --- bin/9.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/9.rc b/bin/9.rc index 354976d3..8a6cea9b 100755 --- 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 $* -- cgit v1.2.3