about summary refs log tree commit diff
path: root/src/exit/_Exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/exit/_Exit.c')
-rw-r--r--src/exit/_Exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exit/_Exit.c b/src/exit/_Exit.c
index c00a2ffb..7a6115c7 100644
--- a/src/exit/_Exit.c
+++ b/src/exit/_Exit.c
@@ -4,5 +4,5 @@
 _Noreturn void _Exit(int ec)
 {
 	__syscall(SYS_exit_group, ec);
-	__syscall(SYS_exit, ec);
+	for (;;) __syscall(SYS_exit, ec);
 }