summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp5
-rw-r--r--src/modules/extra/m_sslrehashsignal.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index b6c252104..c5d958f87 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -121,10 +121,11 @@ void InspIRCd::SetSignals()
{
#ifndef _WIN32
signal(SIGALRM, SIG_IGN);
+ signal(SIGCHLD, SIG_IGN);
signal(SIGHUP, InspIRCd::SetSignal);
signal(SIGPIPE, SIG_IGN);
- signal(SIGCHLD, SIG_IGN);
- /* We want E2BIG not a signal! */
+ signal(SIGUSR1, SIG_IGN);
+ signal(SIGUSR2, SIG_IGN);
signal(SIGXFSZ, SIG_IGN);
#endif
signal(SIGTERM, InspIRCd::SetSignal);
diff --git a/src/modules/extra/m_sslrehashsignal.cpp b/src/modules/extra/m_sslrehashsignal.cpp
index fea32326a..e8be17e23 100644
--- a/src/modules/extra/m_sslrehashsignal.cpp
+++ b/src/modules/extra/m_sslrehashsignal.cpp
@@ -33,7 +33,7 @@ class ModuleSSLRehashSignal : public Module
public:
~ModuleSSLRehashSignal()
{
- signal(SIGUSR1, SIG_DFL);
+ signal(SIGUSR1, SIG_IGN);
}
void init()