aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/coopgammad.c2
1 files changed, 1 insertions, 1 deletions
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);
}