From: Elena Mamontova Date: Wed, 13 Apr 2016 07:56:57 +0000 (+0300) Subject: Ticket 26. The if (newSettings.GetLogFileName() != "") construction X-Git-Tag: 2.409~174^2~1^2 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/refs/heads/ticket26?hp=569c3a5995d3ed8875160d13461628c092da211d Ticket 26. The if (newSettings.GetLogFileName() != "") construction removed when case SIGHUP. --- diff --git a/projects/stargazer/main.cpp b/projects/stargazer/main.cpp index 11f4c723..93aaefd5 100644 --- a/projects/stargazer/main.cpp +++ b/projects/stargazer/main.cpp @@ -341,16 +341,9 @@ while (running) { SETTINGS_IMPL newSettings(settings); if (newSettings.ReadSettings()) - { - if (newSettings.GetLogFileName() != "") - WriteServLog.SetLogFileName(newSettings.GetLogFileName()); - WriteServLog("ReadSettings error. %s", newSettings.GetStrError().c_str()); - } else - { settings = newSettings; - } traffCnt.Reload(); manager.reload(settings); }