From 5d8864b1d5742dae434c83b66b490484f9a839fe Mon Sep 17 00:00:00 2001 From: Elena Mamontova Date: Wed, 13 Apr 2016 10:56:57 +0300 Subject: [PATCH] Ticket 26. The if (newSettings.GetLogFileName() != "") construction removed when case SIGHUP. --- projects/stargazer/main.cpp | 7 ------- 1 file changed, 7 deletions(-) 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); } -- 2.44.2