mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-19 05:07:56 +00:00
Do not catch SIGQUIT
So that it can be used to make a core dump during manual debugging
This commit is contained in:
parent
1b906f3f11
commit
32ce7f5ed9
2
server.c
2
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];
|
||||
|
Loading…
Reference in New Issue
Block a user