From: Robert Spalek Date: Mon, 28 Jun 2004 09:30:13 +0000 (+0000) Subject: bigfix, now it works even for the 2nd time :-) X-Git-Tag: holmes-import~998 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=9355af890e26cb9090a2732c19df416a8578e461;p=libucw.git bigfix, now it works even for the 2nd time :-) --- diff --git a/lib/sighandler.c b/lib/sighandler.c index 406606bb..d6727de8 100644 --- a/lib/sighandler.c +++ b/lib/sighandler.c @@ -29,6 +29,7 @@ handle_signal(int signum, struct sigaction *oldact) struct sigaction act; bzero(&act, sizeof(act)); act.sa_handler = signal_handler_internal; + act.sa_flags = SA_NOMASK; if (sigaction(signum, &act, oldact) < 0) die("sigaction: %m"); }