X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fprocess.c;h=86153b5ac9ce46225c0047242fb71aad2b223b09;hp=d971a0f23b2eb9d6f2798f2c5e7f6e369f2c7f4e;hb=b98d9787fdde54f33dcdb376e1e018cd418aff8d;hpb=ac066bb057dcb187bf91670793ba5e6ca456e052 diff --git a/src/process.c b/src/process.c index d971a0f2..86153b5a 100644 --- a/src/process.c +++ b/src/process.c @@ -17,7 +17,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: process.c,v 1.1.2.27 2001/10/27 13:13:35 guus Exp $ + $Id: process.c,v 1.1.2.28 2001/10/27 15:19:13 guus Exp $ */ #include "config.h" @@ -437,6 +437,9 @@ setup_signals(void) sigaction(i, &act, NULL); } + if(!do_detach) + sighandlers[3].handler = SIG_DFL; + /* Then, for each known signal that we want to catch, assign a handler to the signal, with error checking this time. */ for(i = 0; sighandlers[i].signal; i++)