diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/init/shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/init/shell.c b/src/init/shell.c index 6002156..6b195cc 100644 --- a/src/init/shell.c +++ b/src/init/shell.c @@ -70,6 +70,8 @@ void shell_loop(void) { printf("%s\n", args); } else if (!strcmp(cmd, "cat")) { cmd_cat(args); + } else if (!strcmp(cmd, "exit")) { + _syscall_exit(0); } else { printf("unknown command :(\n"); } |