summaryrefslogtreecommitdiff
path: root/src/init
diff options
context:
space:
mode:
Diffstat (limited to 'src/init')
-rw-r--r--src/init/main.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 200d8bd..b5ef22f 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -56,10 +56,8 @@ int main(void) {
__stdout = _syscall_open(argify("/com1"));
if (__stdout < 0) __stdout = _syscall_open(argify("/vga_tty"));
- for (;;) {
- _syscall_await();
- printf("init: something quit\n");
- }
+ _syscall_await();
+ printf("init: something quit\n");
_syscall_exit(0);
}