projects
/
senf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Utils/Logger: Remove dependency on libboost_datetime
[senf.git]
/
Utils
/
Daemon
/
Daemon.cc
diff --git
a/Utils/Daemon/Daemon.cc
b/Utils/Daemon/Daemon.cc
index
9457d8c
..
94d95ea
100644
(file)
--- a/
Utils/Daemon/Daemon.cc
+++ b/
Utils/Daemon/Daemon.cc
@@
-541,6
+541,9
@@
prefix_ void senf::Daemon::installSighandlers()
::sigaction(SIGHUP, &sa, NULL);
+ sa.sa_handler = SIG_IGN;
+ ::sigaction(SIGPIPE, &sa, NULL);
+
#ifdef SENF_DEBUG
sa.sa_sigaction = &fatalSignalsHandler;
sa.sa_flags = SA_RESTART | SA_SIGINFO;