]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
We need to handle SIGPIPE so we don't abort.
authorRoy Marples <roy@marples.name>
Tue, 20 Jan 2009 16:32:42 +0000 (16:32 +0000)
committerRoy Marples <roy@marples.name>
Tue, 20 Jan 2009 16:32:42 +0000 (16:32 +0000)
signals.c

index d98a2dcc973eb57bdef05cf35b48710430fc17ad..98c7b61f031e0f0324fe694e05b43772058ecdd2 100644 (file)
--- a/signals.c
+++ b/signals.c
 static int signal_pipe[2];
 
 static const int handle_sigs[] = {
-       SIGHUP,
        SIGALRM,
-       SIGTERM,
-       SIGINT
+       SIGHUP,
+       SIGINT,
+       SIGPIPE,
+       SIGTERM
 };
 
 static void