mirror of https://github.com/Icinga/icinga2.git
parent
257c9a8aef
commit
de29105e43
|
@ -62,8 +62,9 @@ int main(int argc, char **argv)
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
String componentDirectory = Utility::DirName(Application::GetExePath(argv[0])) + "/../lib/icinga2";
|
String exeDirectory = Utility::DirName(Application::GetExePath(argv[0]));
|
||||||
Component::AddSearchDir(componentDirectory);
|
Component::AddSearchDir(exeDirectory + "/../lib/icinga2");
|
||||||
|
Component::AddSearchDir(exeDirectory + "/../lib64/icinga2");
|
||||||
|
|
||||||
DynamicObject::BeginTx();
|
DynamicObject::BeginTx();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue