forked from Bananymous/banan-os
Kernel: Shell now has exit() command
This commit is contained in:
parent
6f65453fd4
commit
51e299c7e3
|
@ -369,6 +369,10 @@ argument_done:
|
||||||
}
|
}
|
||||||
TTY_PRINT("\e[2J\e[H");
|
TTY_PRINT("\e[2J\e[H");
|
||||||
}
|
}
|
||||||
|
else if (arguments.front() == "exit")
|
||||||
|
{
|
||||||
|
Process::current().exit();
|
||||||
|
}
|
||||||
else if (arguments.front() == "time")
|
else if (arguments.front() == "time")
|
||||||
{
|
{
|
||||||
auto new_args = arguments;
|
auto new_args = arguments;
|
||||||
|
|
Loading…
Reference in New Issue