]> git.pond.sub.org Git - empserver/blobdiff - src/lib/empthread/posix.c
(empth_init_signals): Don't catch SIGINT and SIGTERM.
[empserver] / src / lib / empthread / posix.c
index 5ec66438a946275df92961cfe7bde6e5f1dcaf03..015080ed3e9be1e6f904b643dc7c0737d96fb0d8 100644 (file)
@@ -46,9 +46,6 @@ empth_init_signals(void)
 
     act.sa_flags = 0;
     sigemptyset(&act.sa_mask);
-    act.sa_handler = shutdwn;
-    sigaction(SIGTERM, &act, NULL);
-    sigaction(SIGINT, &act, NULL);
     act.sa_handler = panic;
     sigaction(SIGBUS, &act, NULL);
     sigaction(SIGSEGV, &act, NULL);