summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-07 16:25:11 +0100
committerPeter Powell <petpow@saberuk.com>2013-07-07 16:25:11 +0100
commit805b7d3effc71d44665c0a7f590343c84e03db92 (patch)
tree711e0492f8231c02ae3d638052a4320881cd20c7 /src/inspircd.cpp
parent71d64de8f0b77d0025a7a48f72d1b63d96fb4bdc (diff)
Fix low risk crash when we can't determine maximum open socket count.
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 1403cdef5..9516449a0 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -241,7 +241,7 @@ void InspIRCd::SetSignals()
void InspIRCd::QuickExit(int status)
{
- exit(0);
+ exit(status);
}
bool InspIRCd::DaemonSeed()