aboutsummaryrefslogtreecommitdiff
path: root/sys/cmd/rc/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/cmd/rc/main.c')
-rw-r--r--sys/cmd/rc/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/cmd/rc/main.c b/sys/cmd/rc/main.c
index baaf6bc..b4a355e 100644
--- a/sys/cmd/rc/main.c
+++ b/sys/cmd/rc/main.c
@@ -76,10 +76,10 @@ main(int argc, char *argv[])
dotrap();
}
#else
-
bootup(sh, 1, nil);
shell->cmd.io = openfd(0);
- parse();
+ while (parse())
+ ;
#endif
exit(0);