summaryrefslogtreecommitdiff
path: root/src/user/app/shell/shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/shell/shell.c')
-rw-r--r--src/user/app/shell/shell.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/user/app/shell/shell.c b/src/user/app/shell/shell.c
index e9293bc..65f08b6 100644
--- a/src/user/app/shell/shell.c
+++ b/src/user/app/shell/shell.c
@@ -41,6 +41,9 @@ void run_args(int argc, char **argv, struct redir *redir) {
fprintf(stderr, "mount: not enough arguments\n");
return;
}
+ MOUNT_AT("/") {
+ fs_dirinject(argv[1]);
+ }
MOUNT_AT(argv[1]) {
run_args(argc - 2, argv + 2, redir);
exit(1);