aboutsummaryrefslogtreecommitdiffstats
path: root/src/coopgammad.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-08-05 12:43:44 +0200
committerMattias Andrée <maandree@kth.se>2016-08-05 12:43:44 +0200
commitd276648b6862bb8f79a657b7f7e4625968f9993f (patch)
treebc9001c4889663ed5388a0f7f2810235d6207213 /src/coopgammad.c
parentAdd missing LF:s (diff)
downloadcoopgammad-d276648b6862bb8f79a657b7f7e4625968f9993f.tar.gz
coopgammad-d276648b6862bb8f79a657b7f7e4625968f9993f.tar.bz2
coopgammad-d276648b6862bb8f79a657b7f7e4625968f9993f.tar.xz
In case re-exec fails
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-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);
}