mirror of
https://github.com/matrix-construct/construct
synced 2024-11-26 08:42:34 +01:00
construct/console: Add a couple more halting options.
This commit is contained in:
parent
a4e709c6d4
commit
169abb0676
1 changed files with 6 additions and 0 deletions
|
@ -190,6 +190,12 @@ try
|
|||
if(line == "ABORT")
|
||||
abort();
|
||||
|
||||
if(line == "TERMINATE")
|
||||
std::terminate();
|
||||
|
||||
if(line == "terminate")
|
||||
ircd::terminate();
|
||||
|
||||
if(line == "EXIT")
|
||||
exit(0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue