mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-22 13:14:32 +02:00
Fix: FatalError() returns when called before Application.Run
fixes #11475
This commit is contained in:
parent
e75262af2f
commit
d276c7e4c2
@ -38,8 +38,10 @@ namespace Icinga
|
|||||||
|
|
||||||
string installDir = Program.Icinga2InstallDir;
|
string installDir = Program.Icinga2InstallDir;
|
||||||
|
|
||||||
if (installDir == "")
|
if (installDir == "") {
|
||||||
FatalError(null, "Icinga 2 does not seem to be installed properly.");
|
FatalError(null, "Icinga 2 does not seem to be installed properly.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
Form form;
|
Form form;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user