From ecab88b983e779cc7c5824069a993db788f87350 Mon Sep 17 00:00:00 2001 From: BurnZeZ Date: Sat, 26 Oct 2013 17:23:08 -0400 Subject: [PATCH] rc: make default path safer --- rc/lib/rcmain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/lib/rcmain b/rc/lib/rcmain index 44dd5670a..260592bd7 100644 --- a/rc/lib/rcmain +++ b/rc/lib/rcmain @@ -12,7 +12,7 @@ if(~ $rcname ?.out) prompt=('broken! ' ' ') if(flag p) path=/bin if not{ finit - if(~ $#path 0) path=(. /bin) + if(~ $#path 0) path=(/bin .) } fn sigexit if(! ~ $#cflag 0){