From 1667f43351b4f4a6dc1b7a96d3a68352feba2cdb Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 16 Mar 2006 18:46:59 +0000 Subject: Fix to warning line 218 git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3723 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3