diff options
Diffstat (limited to 'src/init/main.c')
-rw-r--r-- | src/init/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c index 1a6162a..5c798d2 100644 --- a/src/init/main.c +++ b/src/init/main.c @@ -28,6 +28,10 @@ int main(void) { fs_test(); test_await(); + char c; + while (_syscall_read(tty_fd, &c, 1, 0)) + _syscall_write(tty_fd, &c, 1, 0); + _syscall_exit(argify("my job here is done.")); } |