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;
|
||||
}
|
||||
|
||||
String componentDirectory = Utility::DirName(Application::GetExePath(argv[0])) + "/../lib/icinga2";
|
||||
Component::AddSearchDir(componentDirectory);
|
||||
String exeDirectory = Utility::DirName(Application::GetExePath(argv[0]));
|
||||
Component::AddSearchDir(exeDirectory + "/../lib/icinga2");
|
||||
Component::AddSearchDir(exeDirectory + "/../lib64/icinga2");
|
||||
|
||||
DynamicObject::BeginTx();
|
||||
|
||||
|
|
Loading…
Reference in New Issue