mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-20 23:00:35 -05:00
Improved output while trying to enable/disable features
This commit is contained in:
parent
e9c37bd042
commit
079b64aff1
2 changed files with 2 additions and 2 deletions
|
|
@ -9,7 +9,7 @@ function Disable-IcingaAgentFeature()
|
|||
}
|
||||
|
||||
if ((Test-IcingaAgentFeatureEnabled -Feature $Feature) -eq $FALSE) {
|
||||
Write-Host 'This feature is already disabled.'
|
||||
Write-Host ([string]::Format('This feature is already disabled [{0}]', $Feature));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ function Enable-IcingaAgentFeature()
|
|||
}
|
||||
|
||||
if ((Test-IcingaAgentFeatureEnabled -Feature $Feature)) {
|
||||
Write-Host 'This feature is already enabled.'
|
||||
Write-Host ([string]::Format('This feature is already enabled [{0}]', $Feature));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue