chiark / gitweb /
manager: we are not interested in SIGPIPE/SIGTTIN
authorLennart Poettering <lennart@poettering.net>
Tue, 13 Apr 2010 00:03:39 +0000 (02:03 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 13 Apr 2010 00:03:39 +0000 (02:03 +0200)
manager.c

index 43ee7f5..cf13e25 100644 (file)
--- a/manager.c
+++ b/manager.c
@@ -59,9 +59,7 @@ static int manager_setup_signals(Manager *m) {
         assert_se(sigaddset(&mask, SIGHUP) == 0);
         assert_se(sigaddset(&mask, SIGUSR1) == 0);
         assert_se(sigaddset(&mask, SIGUSR2) == 0);
-        assert_se(sigaddset(&mask, SIGPIPE) == 0);
         assert_se(sigaddset(&mask, SIGPWR) == 0);
-        assert_se(sigaddset(&mask, SIGTTIN) == 0);
         assert_se(sigprocmask(SIG_SETMASK, &mask, NULL) == 0);
 
         m->signal_watch.type = WATCH_SIGNAL;