mirror of https://github.com/Icinga/icinga2.git
Implement validateOnly flag for LoadConfigFiles().
This commit is contained in:
parent
59f1d3ffc0
commit
a5a51a6123
|
@ -83,6 +83,9 @@ static bool LoadConfigFiles(bool validateOnly)
|
|||
}
|
||||
}*/
|
||||
|
||||
if (validateOnly)
|
||||
return true;
|
||||
|
||||
context.ActivateItems();
|
||||
|
||||
BOOST_FOREACH(const ConfigItem::WeakPtr& witem, g_ConfigItems) {
|
||||
|
|
Loading…
Reference in New Issue