diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/signals.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/signals.c b/src/signals.c index cee5ece..942324c 100644 --- a/src/signals.c +++ b/src/signals.c @@ -84,6 +84,12 @@ signals_install_handlers(void) return -1; } + r = sigaction(SIGQUIT, &sigact, NULL); + if (r < 0) { + perror("sigaction"); + return -1; + } + /* Install signal handler for USR1 signal */ sigact.sa_handler = sigdisable; sigact.sa_mask = sigset; |