Fix: FatalError() returns when called before Application.Run

fixes #11475
This commit is contained in:
Gunnar Beutner 2016-03-30 09:58:01 +02:00
parent eb7887dad0
commit 2ffbd1a161
1 changed files with 4 additions and 2 deletions

View File

@ -38,8 +38,10 @@ namespace Icinga
string installDir = Program.Icinga2InstallDir;
if (installDir == "")
FatalError(null, "Icinga 2 does not seem to be installed properly.");
if (installDir == "") {
FatalError(null, "Icinga 2 does not seem to be installed properly.");
return;
}
Form form;