summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/exit.cpp
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2020-12-12 21:20:55 +0200
committerAndreas Kling <kling@serenityos.org>2020-12-14 23:05:53 +0100
commit1efbbf3ac385fff3af980f4d9c3c27f6f2a546ad (patch)
tree54470fc013e3fdca1da901bd7da67b62770f886f /Kernel/Syscalls/exit.cpp
parentb1e01066feae7f091ecfac04dfc66d482c8d788c (diff)
downloadserenity-1efbbf3ac385fff3af980f4d9c3c27f6f2a546ad.zip
Kernel: Don't generate a backtrace when a process exists with non-zero
..status
Diffstat (limited to 'Kernel/Syscalls/exit.cpp')
-rw-r--r--Kernel/Syscalls/exit.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/Kernel/Syscalls/exit.cpp b/Kernel/Syscalls/exit.cpp
index ee12645379..37d058fdab 100644
--- a/Kernel/Syscalls/exit.cpp
+++ b/Kernel/Syscalls/exit.cpp
@@ -33,11 +33,6 @@ void Process::sys$exit(int status)
{
cli();
- if (status != 0) {
- dump_backtrace();
- set_dump_core(true);
- }
-
m_termination_status = status;
m_termination_signal = 0;
die();