From 32ce7f5ed98ae3f2582fcbc79244d749fd861698 Mon Sep 17 00:00:00 2001 From: Andrew Bettison Date: Fri, 8 Nov 2013 18:25:33 +1030 Subject: [PATCH] Do not catch SIGQUIT So that it can be used to make a core dump during manual debugging --- server.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/server.c b/server.c index 56323b24..402263ab 100644 --- a/server.c +++ b/server.c @@ -108,11 +108,9 @@ int server(const struct cli_parsed *parsed) sigemptyset(&sig.sa_mask); // Block the same signals during handler sigaddset(&sig.sa_mask, SIGHUP); sigaddset(&sig.sa_mask, SIGINT); - sigaddset(&sig.sa_mask, SIGQUIT); sig.sa_flags = 0; sigaction(SIGHUP, &sig, NULL); sigaction(SIGINT, &sig, NULL); - sigaction(SIGQUIT, &sig, NULL); /* Record PID to advertise that the server is now running */ char filename[1024];