From e7770ccc0fab8f3a4b65bf2f7a1a11ad453f77e4 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Fri, 2 Sep 2022 17:59:50 +0200 Subject: user/init: don't shutdown when a fs driver quits --- src/user/app/init/init.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/user') diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index 04380a6..7e6ddab 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -83,15 +83,6 @@ int main(void) { } close(killswitch_pipe[1]); - long cid = fork(); - if (cid > 0) { - /* used to trigger a kernel bug - * 7c96f9c03502e0c60f23f4c550d12a629f3b3daf */ - printf("main at cid %u\n", cid); - _syscall_await(); - exit(1); - } - if (!fork()) { // TODO close on exec close(killswitch_pipe[0]); -- cgit v1.2.3