This commit is contained in:
Christian Stein 2020-06-18 10:24:53 +02:00
commit d785eb4b5d

View file

@ -46,8 +46,8 @@ function Install-IcingaAgent()
if ([string]::IsNullOrEmpty($InstallDir) -eq $FALSE) { if ([string]::IsNullOrEmpty($InstallDir) -eq $FALSE) {
if ((Test-Path $InstallDir) -eq $FALSE) { if ((Test-Path $InstallDir) -eq $FALSE) {
New-Item -Path $InstallDir -Force | Out-Null; New-Item -Path $InstallDir -Force | Out-Null;
$InstallTarget = $InstallDir;
} }
$InstallTarget = $InstallDir;
} }
[string]$InstallFolderMsg = $InstallTarget; [string]$InstallFolderMsg = $InstallTarget;