diff options
Diffstat (limited to 'daemon/logind/logind.c')
-rw-r--r-- | daemon/logind/logind.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/daemon/logind/logind.c b/daemon/logind/logind.c index e30dfa08..a816115f 100644 --- a/daemon/logind/logind.c +++ b/daemon/logind/logind.c @@ -1042,7 +1042,7 @@ auth_start(int fd, login_conn_ctx *conn) /////////////////////////////////////////////////////////////////////// // Event callbacks -static struct event ev_sighup, ev_sigpipe, ev_tunnel; +static struct event ev_sighup, ev_tunnel; static void sighup_cb(int signal, short event, void *arg) @@ -1054,12 +1054,6 @@ sighup_cb(int signal, short event, void *arg) } static void -sigpipe_cb(int signal, short event, void *arg) -{ - fprintf(stderr, LOG_PREFIX "caught sigpipe...\r\n"); -} - -static void endconn_cb(int fd, short event, void *arg) { login_conn_ctx *conn = (login_conn_ctx*) arg; @@ -1578,8 +1572,6 @@ main(int argc, char *argv[]) // SIGHUP handler is reset in daemonize() signal_set(&ev_sighup, SIGHUP, sighup_cb, &ev_sighup); signal_add(&ev_sighup, NULL); - signal_set(&ev_sigpipe, SIGPIPE, sigpipe_cb, &ev_sigpipe); - signal_add(&ev_sigpipe, NULL); // spawn tunnel client if specified. if (*tclient_cmd) |