But we do ignore SIGPIPE, and tinc 1.0.x signals that are no longer used
(SIGUSR1 and SIGUSR2), since the default handler of these signals is to
terminate tincd immediately.
bool detach(void) {
#ifndef HAVE_MINGW
signal(SIGALRM, SIG_IGN);
bool detach(void) {
#ifndef HAVE_MINGW
signal(SIGALRM, SIG_IGN);
- signal(SIGCHLD, SIG_IGN);
+ signal(SIGPIPE, SIG_IGN);
+ signal(SIGUSR1, SIG_IGN);
+ signal(SIGUSR2, SIG_IGN);
+ signal(SIGWINCH, SIG_IGN);