summaryrefslogtreecommitdiffhomepage
path: root/Private/Source/ProcessManager.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Private/Source/ProcessManager.cxx')
-rw-r--r--Private/Source/ProcessManager.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/Private/Source/ProcessManager.cxx b/Private/Source/ProcessManager.cxx
index fce7a58f..a8a03b52 100644
--- a/Private/Source/ProcessManager.cxx
+++ b/Private/Source/ProcessManager.cxx
@@ -39,7 +39,10 @@ const Int32 &rt_get_exit_code() noexcept { return kExitCode; }
/***********************************************************************************/
void Process::Crash() {
- kcout << this->Name << ": Crashed\n";
+ kcout << this->Name << ": Crashed, ExitCode: -1\n";
+
+ // TODO: Bug check the system.
+
this->Exit(-1);
}