From ffb6e46dbd79bec3d68bbed3e11d3d1b743bd1fc Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 28 Aug 2016 23:50:54 +0100 Subject: [PATCH] signals: fix other return in chksigs --- Kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/process.c b/Kernel/process.c index a5c0053f..8c30c2bc 100644 --- a/Kernel/process.c +++ b/Kernel/process.c @@ -461,7 +461,7 @@ uint8_t chksigs(void) isn't quite right but will paper over the holes for the moment FIXME */ if (udata.u_cursig || !pending || udata.u_ptab->p_status == P_STOPPED) - return; + return udata.u_cursig; /* Dispatch the lowest numbered signal */ for (j = 1; j < NSIGS; ++j) { -- 2.34.1