charon-cmd: Block SIGUSR1 on worker threads
[strongswan.git] / src / charon-cmd / charon-cmd.c
index 5f4787b..0c24fd1 100644 (file)
@@ -389,6 +389,7 @@ int main(int argc, char *argv[])
        sigaddset(&action.sa_mask, SIGINT);
        sigaddset(&action.sa_mask, SIGTERM);
        sigaddset(&action.sa_mask, SIGHUP);
+       sigaddset(&action.sa_mask, SIGUSR1);
        sigaction(SIGSEGV, &action, NULL);
        sigaction(SIGILL, &action, NULL);
        sigaction(SIGBUS, &action, NULL);