summaryrefslogtreecommitdiff
path: root/src/user/app/init
diff options
context:
space:
mode:
authordzwdz2023-01-11 19:35:44 +0100
committerdzwdz2023-01-11 19:37:46 +0100
commitec81fa16d837f430add92b4d2ee4bd3727ca6c6d (patch)
tree43c91abe8d6a76fcec006fe67c1b585573d3662f /src/user/app/init
parentc178ab5d5ca328d5b0072d54e3dc66d1b198df7b (diff)
kernel: return EPIPE when fs_waiting on a dead filesystem
Diffstat (limited to 'src/user/app/init')
-rw-r--r--src/user/app/init/init.c1
1 files changed, 1 insertions, 0 deletions
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();
}
}
}