diff options
| author | Roy Marples <roy@marples.name> | 2009-01-20 16:32:42 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-01-20 16:32:42 +0000 |
| commit | b2fad69f5e9371d4e1811e194092e1c239e1c8ba (patch) | |
| tree | b356babae6889d3c95839895b1e217aee62de2d0 /signals.c | |
| parent | d600f7076c1acdb0e9c7df6525590bc9921b109b (diff) | |
| download | dhcpcd-b2fad69f5e9371d4e1811e194092e1c239e1c8ba.tar.xz | |
We need to handle SIGPIPE so we don't abort.
Diffstat (limited to 'signals.c')
| -rw-r--r-- | signals.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -39,10 +39,11 @@ static int signal_pipe[2]; static const int handle_sigs[] = { - SIGHUP, SIGALRM, - SIGTERM, - SIGINT + SIGHUP, + SIGINT, + SIGPIPE, + SIGTERM }; static void |
