chiark
/
gitweb
/
~mdw
/
tripe
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
220ba5e
)
server/admin.c: Delete a redundant ignoring of `SIGPIPE'.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 12 May 2018 10:38:08 +0000
(11:38 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 14 Jun 2018 11:50:38 +0000
(12:50 +0100)
The real one is in `main' in `tripe.c'.
server/admin.c
patch
|
blob
|
blame
|
history
diff --git
a/server/admin.c
b/server/admin.c
index aafe0b9c8c69b896c1e597be48d0f5ef7c2fc4d6..46a7348ab34fba4ccaa8c48c4b1a3180f0e26349 100644
(file)
--- a/
server/admin.c
+++ b/
server/admin.c
@@
-2361,7
+2361,6
@@
again:
sig_add(&s_term, SIGTERM, a_sigdie, 0);
sig_add(&s_hup, SIGHUP, a_sighup, 0);
sig_add(&s_term, SIGTERM, a_sigdie, 0);
sig_add(&s_hup, SIGHUP, a_sighup, 0);
- signal(SIGPIPE, SIG_IGN);
sigaction(SIGINT, 0, &sa);
if (sa.sa_handler != SIG_IGN)
sig_add(&s_int, SIGINT, a_sigdie, 0);
sigaction(SIGINT, 0, &sa);
if (sa.sa_handler != SIG_IGN)
sig_add(&s_int, SIGINT, a_sigdie, 0);