From: Roy Marples Date: Tue, 20 Jan 2009 16:32:42 +0000 (+0000) Subject: We need to handle SIGPIPE so we don't abort. X-Git-Tag: v5.0.0~113 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2fad69f5e9371d4e1811e194092e1c239e1c8ba;p=thirdparty%2Fdhcpcd.git We need to handle SIGPIPE so we don't abort. --- diff --git a/signals.c b/signals.c index d98a2dcc..98c7b61f 100644 --- a/signals.c +++ b/signals.c @@ -39,10 +39,11 @@ static int signal_pipe[2]; static const int handle_sigs[] = { - SIGHUP, SIGALRM, - SIGTERM, - SIGINT + SIGHUP, + SIGINT, + SIGPIPE, + SIGTERM }; static void