diff options
Diffstat (limited to 'src/cmd/rc')
-rw-r--r-- | src/cmd/rc/exec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cmd/rc/exec.c b/src/cmd/rc/exec.c index e6cde9e1..ae2aa867 100644 --- a/src/cmd/rc/exec.c +++ b/src/cmd/rc/exec.c @@ -110,6 +110,9 @@ main(int argc, char *argv[]) code bootstrap[32]; char num[12], *rcmain; int i; + + /* needed for rcmain later */ + setenv("PLAN9", unsharp("#9"), 1); argc=getflags(argc, argv, "srdiIlxepvVc:1m:1[command]", 1); if(argc==-1) usage("[file [arg ...]]"); |