manager: we are not interested in SIGPIPE/SIGTTIN

This commit is contained in:
Lennart Poettering 2010-04-13 02:03:39 +02:00
parent 078e453981
commit 8d0e8067af

View File

@ -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;