From: Alan Cox Date: Sun, 28 Aug 2016 22:50:54 +0000 (+0100) Subject: signals: fix other return in chksigs X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=ffb6e46dbd79bec3d68bbed3e11d3d1b743bd1fc;p=FUZIX.git signals: fix other return in chksigs --- 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) {