mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2026-02-03 12:19:29 -05:00
Fixes return value for "Agent" component installation failure
This commit is contained in:
parent
deeec5b91b
commit
eed1efad21
1 changed files with 1 additions and 1 deletions
|
|
@ -394,7 +394,7 @@ function Install-IcingaComponent()
|
||||||
|
|
||||||
if ($InstallProcess.ExitCode -ne 0) {
|
if ($InstallProcess.ExitCode -ne 0) {
|
||||||
Write-IcingaConsoleError -Message 'Failed to install component "agent": {0}{1}' -Objects $InstallProcess.Message, $InstallProcess.Error;
|
Write-IcingaConsoleError -Message 'Failed to install component "agent": {0}{1}' -Objects $InstallProcess.Message, $InstallProcess.Error;
|
||||||
return $FALSE;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$Global:Icinga.Protected.Environment.'Icinga Service'.Present = $TRUE;
|
$Global:Icinga.Protected.Environment.'Icinga Service'.Present = $TRUE;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue