mirror of
https://github.com/RGBCube/serenity
synced 2025-05-19 00:25:07 +00:00
Kernel: Don't dump backtrace on successful exits
This was getting really annoying.
This commit is contained in:
parent
198cd77307
commit
35b0f10f20
1 changed files with 2 additions and 1 deletions
|
@ -1130,7 +1130,8 @@ void Process::sys$exit(int status)
|
|||
kprintf("sys$exit: %s(%u) exit with status %d\n", name().characters(), pid(), status);
|
||||
#endif
|
||||
|
||||
dump_backtrace();
|
||||
if (status != 0)
|
||||
dump_backtrace();
|
||||
|
||||
m_termination_status = status;
|
||||
m_termination_signal = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue