forked from Bananymous/banan-os
Userspace: add exit to shell
This commit is contained in:
parent
7f34d00c95
commit
e001eecb7b
|
@ -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