summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index a58efa6..5e40496 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -112,5 +112,7 @@ void test_await(void) {
while ((ret = _syscall_await()) != ~0)
printf("await returned: %x\n", ret);
printf("await: no more children\n");
+
+ _syscall_exit(0);
} else _syscall_await();
}