From 2159d6bf768c591b6b7c92edfdee683f810f6811 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 24 Jan 2019 21:22:13 +0100 Subject: [PATCH] Kernel: Fix bug in process termination on missing signal handler. --- Kernel/Process.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index 1f0aa1dce0..515cc8aa1e 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -793,7 +793,7 @@ bool Process::dispatch_signal(byte signal) if (handler_laddr.is_null()) { // FIXME: Is termination really always the appropriate action? terminate_due_to_signal(signal); - return true; + return false; } m_pending_signals &= ~(1 << signal);