From d276648b6862bb8f79a657b7f7e4625968f9993f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 5 Aug 2016 12:43:44 +0200 Subject: In case re-exec fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/coopgammad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coopgammad.c b/src/coopgammad.c index 92700e0..5f18814 100644 --- a/src/coopgammad.c +++ b/src/coopgammad.c @@ -118,7 +118,7 @@ char* restrict socketpath = NULL; static void sig_reexec(int signo) { reexec = 1; - (void) signo; + signal(signo, sig_reexec); } -- cgit v1.2.3-70-g09d2