mirror of https://github.com/Icinga/icinga2.git
Revert "Add Log Warning in case active-stage is empty"
This reverts commit 287f72b0a0
.
This commit is contained in:
parent
287f72b0a0
commit
79166a31d4
|
@ -254,11 +254,7 @@ String ConfigPackageUtility::GetActiveStage(const String& packageName)
|
|||
fp.close();
|
||||
|
||||
if (fp.fail())
|
||||
stage = "";
|
||||
|
||||
if (stage.IsEmpty())
|
||||
Log(LogWarning, "ConfigPackageUtility")
|
||||
<< "Could not determinate the active stage, does \"" << path << "\" exist?";
|
||||
return "";
|
||||
|
||||
return stage.Trim();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue