mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-26 07:04:37 +02:00
commit
aacc535acf
@ -146,9 +146,8 @@ int FeatureUtility::DisableFeatures(const std::vector<std::string>& features)
|
|||||||
String target = features_enabled_dir + "/" + feature + ".conf";
|
String target = features_enabled_dir + "/" + feature + ".conf";
|
||||||
|
|
||||||
if (!Utility::PathExists(target) ) {
|
if (!Utility::PathExists(target) ) {
|
||||||
Log(LogCritical, "cli")
|
Log(LogWarning, "cli")
|
||||||
<< "Cannot disable feature '" << feature << "'. Target file '" << target << "' does not exist.";
|
<< "Feature '" << feature << "' already disabled.";
|
||||||
errors.push_back(feature);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user