statdaemons: config processing: throwing if something goes wrong (except if an incl is not found); added comment to generated file. [#METR-8956]

This commit is contained in:
Michael Kolupaev 2014-02-24 14:09:23 +04:00
parent 18f0c5d2ac
commit 496966b466

View File

@ -129,7 +129,7 @@ void UsersConfigReloader::reloadIfNewer(bool force)
try try
{ {
processed_path = ConfigProcessor().processConfig(config); processed_path = ConfigProcessor(!force).processConfig(path);
} }
catch (Poco::Exception & e) catch (Poco::Exception & e)
{ {