--- innwebd/service.cpp 2004/09/16 15:42:06 1.6 +++ innwebd/service.cpp 2005/02/26 16:10:26 1.8 @@ -1,7 +1,7 @@ /*******************************************************/ /* */ /* LeafOK Innbbsd */ -/* Copyright (C) LeafOK.com, 2003-2004 */ +/* Copyright (C) LeafOK.com, 2003-2005 */ /* */ /* Programmed by Leaf */ /* E-mail:leaflet@leafok.com QQ:6049044 */ @@ -50,7 +50,10 @@ void service::Run() syslog << logfile::log_head << "Begin CONTROLD ... Failed" << endl; if (startup_err_count++ > 5) + { + this->m_bIsRunning = false; break; + } Sleep(1000 * 60 * 5); }