diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index aed513737..e7dfeb9c2 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -215,7 +215,7 @@ InspIRCd::InspIRCd(int argc, char** argv) SetSignals(); if (!Config->nofork) { - if (DaemonSeed() == ERROR) + if (!DaemonSeed()) { printf("ERROR: could not go into daemon mode. Shutting down.\n"); Exit(ERROR); |