mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
Kernel: Don't dump backtrace on successful exits
This was getting really annoying.
This commit is contained in:
parent
198cd77307
commit
35b0f10f20
Notes:
sideshowbarker
2024-07-19 10:07:42 +09:00
Author: https://github.com/bugaevc Commit: https://github.com/SerenityOS/serenity/commit/35b0f10f202 Pull-request: https://github.com/SerenityOS/serenity/pull/1063
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…
Reference in a new issue