1
Fork 0
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:
Sergey Bugaev 2020-01-12 18:27:24 +03:00 committed by Andreas Kling
parent 198cd77307
commit 35b0f10f20

View file

@ -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;