mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 18:38:12 +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,6 +1130,7 @@ void Process::sys$exit(int status)
|
||||||
kprintf("sys$exit: %s(%u) exit with status %d\n", name().characters(), pid(), status);
|
kprintf("sys$exit: %s(%u) exit with status %d\n", name().characters(), pid(), status);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (status != 0)
|
||||||
dump_backtrace();
|
dump_backtrace();
|
||||||
|
|
||||||
m_termination_status = status;
|
m_termination_status = status;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue