aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRuss Cox <rsc@swtch.com>2007-08-22 11:24:34 -0400
committerRuss Cox <rsc@swtch.com>2007-08-22 11:24:34 -0400
commite9f50ca103acfb10afb6a2c93f261560d01387c0 (patch)
tree561808bc778a9d2f5ad63bc27992153128b580b6 /bin
parent6b0a42ed047c3a9f9719294c64285b131a3d736e (diff)
downloadplan9port-e9f50ca103acfb10afb6a2c93f261560d01387c0.tar.gz
plan9port-e9f50ca103acfb10afb6a2c93f261560d01387c0.tar.bz2
plan9port-e9f50ca103acfb10afb6a2c93f261560d01387c0.zip
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 (limited to 'bin')
-rwxr-xr-xbin/9.rc2
1 files changed, 1 insertions, 1 deletions
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 $*