Userspace: add exit to shell
This commit is contained in:
parent
9728947d5d
commit
47c69e9def
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue