diff options
-rw-r--r-- | sys/kern/kern_sig.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c index 7af39621580..5183532147a 100644 --- a/sys/kern/kern_sig.c +++ b/sys/kern/kern_sig.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_sig.c,v 1.85 2007/01/16 17:52:18 thib Exp $ */ +/* $OpenBSD: kern_sig.c,v 1.86 2007/01/17 23:08:18 art Exp $ */ /* $NetBSD: kern_sig.c,v 1.54 1996/04/22 01:38:32 christos Exp $ */ /* @@ -973,14 +973,15 @@ psignal(struct proc *p, int signum) unsleep(p); goto out; + case SONPROC: + signotify(p); + /* FALLTHROUGH */ default: /* * SRUN, SIDL, SZOMB do nothing with the signal, * other than kicking ourselves if we are running. * It will either never be noticed, or noticed very soon. */ - if (p == curproc) - signotify(p); goto out; } /*NOTREACHED*/ |