X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/9c2dc9baa5ec0c9df9177b16949c7f5396a8f668..53407602cc91f2442d0f28575aa366f9c7159ae3:/projects/stargazer/main.cpp diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index c2134f49..b7bb91f5 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -267,20 +267,10 @@ if (settings->ReadSettings()) if (settings->GetLogFileName() != "") WriteServLog.SetLogFileName(settings->GetLogFileName()); - + WriteServLog("ReadSettings error. %s", settings->GetStrError().c_str()); exit(1); } - /*************************************************************************************************/ - printfd(__FILE__, "--- Script params dump ---\n"); - std::vector::const_iterator it(settings->GetScriptParams().begin()); - while (it != settings->GetScriptParams().end()) - { - printfd(__FILE__, "%s\n", it->c_str()); - ++it; - } - printfd(__FILE__, "--- End dump ---\n"); - /*************************************************************************************************/ #ifndef NO_DAEMON std::string startFile(settings->GetConfDir() + START_FILE); #endif