--- smsdaemon/daemon.cpp 2008/12/21 18:41:08 208 +++ smsdaemon/daemon.cpp 2008/12/22 22:22:42 214 @@ -46,8 +46,8 @@ { Common* cmn = Common::instance(); - std::string userstr = cmn->GetConfigfile()->GetValue("smsdaemon","user"); - std::string groupstr = cmn->GetConfigfile()->GetValue("smsdaemon","group"); + std::string userstr = cmn->GetConfigfile()->GetValue("smsdaemon","user",""); + std::string groupstr = cmn->GetConfigfile()->GetValue("smsdaemon","group",""); passwd* pass = getpwnam(userstr.c_str()); if (pass != 0)