From f52ea0a7eb0383cc2a5f41db1bf24c39424fdb04 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Tue, 8 Sep 2009 18:21:52 +0200 Subject: [PATCH] UNIX signal numbers start at 1. --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index 28bba02d..d07ce7db 100644 --- a/src/process.c +++ b/src/process.c @@ -587,7 +587,7 @@ void setup_signals(void) /* Set a default signal handler for every signal, errors will be ignored. */ - for(i = 0; i < NSIG; i++) { + for(i = 1; i < NSIG; i++) { if(!do_detach) act.sa_handler = SIG_DFL; else -- 2.39.5