diff --git a/userspace/Shell/main.cpp b/userspace/Shell/main.cpp index 4f9e7e1c..dc28c589 100644 --- a/userspace/Shell/main.cpp +++ b/userspace/Shell/main.cpp @@ -41,6 +41,10 @@ int execute_command(BAN::StringView command) fflush(stdout); return 0; } + else if (args.front() == "exit"sv) + { + exit(0); + } else { pid_t pid = fork();