src/server/daemon/main.c

changeset 146
a9591a91c004
parent 142
55298bc9ed28
child 156
724e107983e9
--- a/src/server/daemon/main.c	Fri Jan 13 09:53:55 2017 +0100
+++ b/src/server/daemon/main.c	Sat Jan 14 11:27:55 2017 +0100
@@ -154,6 +154,7 @@
     signal(SIGINT, sig_term);
     
     struct sigaction act;
+    ZERO(&act, sizeof(struct sigaction));
     act.sa_handler = SIG_IGN;
     sigaction(SIGPIPE, &act, NULL);
 

mercurial