]> mj.ucw.cz Git - libucw.git/commitdiff
bigfix, now it works even for the 2nd time :-)
authorRobert Spalek <robert@ucw.cz>
Mon, 28 Jun 2004 09:30:13 +0000 (09:30 +0000)
committerRobert Spalek <robert@ucw.cz>
Mon, 28 Jun 2004 09:30:13 +0000 (09:30 +0000)
lib/sighandler.c

index 406606bb295ee820548cbe3dddb7479774f6b278..d6727de8e2118c96b3e48a7ee6a9c7e0336af912 100644 (file)
@@ -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");
 }