aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filmoteca.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/filmoteca.c b/filmoteca.c
index 904146a..7e928b5 100644
--- a/filmoteca.c
+++ b/filmoteca.c
@@ -13,6 +13,7 @@
#include <ctype.h>
#include <errno.h>
#include <pwd.h>
+#include <signal.h>
#include <pthread.h>
#include <utf.h>
#include <fmt.h>
@@ -1011,6 +1012,7 @@ tmain(void *a)
srvfilms();
exit(0);
default:
+ signal(SIGCHLD, SIG_IGN);
//wait(nil);
/* FALLTHROUGH */
case -1: