mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user