From 04c907ca9e9ed5d2f05ebbdfc4fe47b9dc4a11e0 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Wed, 13 Oct 2021 21:48:20 +0200 Subject: init: kill the test_await process after the test finishes --- src/init/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/init') 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(); } -- cgit v1.2.3