From ec3d2400db15e6911138d88f95cae141a9da2130 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 11 May 2024 20:55:10 +0200 Subject: kernel: remove HANDLE_NULLFS It was a dumb hack that wasn't even necessary - an error when mounting should shadow over the mountpoint anyways. --- src/cmd/shell/shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd/shell/shell.c') diff --git a/src/cmd/shell/shell.c b/src/cmd/shell/shell.c index 3aeaca1..9afdb5c 100644 --- a/src/cmd/shell/shell.c +++ b/src/cmd/shell/shell.c @@ -57,7 +57,7 @@ void run_args(int argc, char **argv, struct redir *redir) { if (argc < 2) { fprintf(stderr, "shadow: missing path\n"); } else { - _sys_mount(HANDLE_NULLFS, argv[1], strlen(argv[1])); + _sys_mount(-1, argv[1], strlen(argv[1])); } } else if (!strcmp(argv[0], "procmnt")) { if (argc < 2) { -- cgit v1.2.3