summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-08 21:36:19 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-08 21:36:19 +0000
commit0dd7eaf63d2c55fa30f5eb4422b780a0f7ed4442 (patch)
tree93fccb2fddb0bef0de0b198c94f43f68e319da08 /src
parent9ad873886e518bf3621a88e8c48607ab79020c0a (diff)
Call RecoverFromFork from ForkIntoBackground.
Diffstat (limited to 'src')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 6d8272361..af9013515 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -168,6 +168,7 @@ namespace
{
setsid();
signal(SIGTERM, InspIRCd::SetSignal);
+ SocketEngine::RecoverFromFork();
}
#endif
return true;
@@ -465,7 +466,6 @@ InspIRCd::InspIRCd(int argc, char** argv)
std::cout << "InspIRCd Process ID: " << con_green << getpid() << con_reset << std::endl;
IncreaseCoreDumpSize();
- SocketEngine::RecoverFromFork();
/* During startup we read the configuration now, not in
* a seperate thread