diff -r 1c93281ca4bf -r a9591a91c004 src/server/daemon/main.c --- 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);