about summary refs log tree commit diff
path: root/hurd/hurdsig.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r--hurd/hurdsig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index f2a01201b5..2c9625b474 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -586,7 +586,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
   if (handler == SIG_IGN)
     /* Ignore the signal altogether.  */
     act = ignore;
-  if (handler != SIG_ERR)
+  else if (handler != SIG_ERR)
     /* Run the preemption-provided handler.  */
     act = handle;
   else