From 169abb06763cb2fbb384b50ca1e7e21bc768108b Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 22 Feb 2019 10:59:47 -0800 Subject: [PATCH] construct/console: Add a couple more halting options. --- construct/console.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/construct/console.cc b/construct/console.cc index 39689e7d8..ceea9cef6 100644 --- a/construct/console.cc +++ b/construct/console.cc @@ -190,6 +190,12 @@ try if(line == "ABORT") abort(); + if(line == "TERMINATE") + std::terminate(); + + if(line == "terminate") + ircd::terminate(); + if(line == "EXIT") exit(0);