From ec81fa16d837f430add92b4d2ee4bd3727ca6c6d Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 11 Jan 2023 19:35:44 +0100 Subject: kernel: return EPIPE when fs_waiting on a dead filesystem --- src/user/app/init/init.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/user/app/init/init.c') diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c index 0af0150..350d9a0 100644 --- a/src/user/app/init/init.c +++ b/src/user/app/init/init.c @@ -29,6 +29,7 @@ void redirect(const char *exe, const char *out, const char *in) { exit(1); } _syscall_await(); + _syscall_filicide(); } } } -- cgit v1.2.3