mirror of https://github.com/Icinga/icinga2.git
parent
fd2cd7a3a5
commit
b72ba2b63a
|
@ -51,7 +51,7 @@ bool ApiSetupUtility::SetupMaster(const String& cn)
|
||||||
*/
|
*/
|
||||||
if (FeatureUtility::CheckFeatureEnabled("api")) {
|
if (FeatureUtility::CheckFeatureEnabled("api")) {
|
||||||
Log(LogInformation, "cli", "'api' feature already enabled, skipping feature enable and master certificate creation.");
|
Log(LogInformation, "cli", "'api' feature already enabled, skipping feature enable and master certificate creation.");
|
||||||
return false;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!SetupMasterCertificates(cn))
|
if (!SetupMasterCertificates(cn))
|
||||||
|
|
Loading…
Reference in New Issue