Update Install-IcingaAgent.psm1

This commit is contained in:
Alexander Plate 2020-06-17 21:58:48 +02:00
parent c2bd5e9aad
commit 92d5bdd025

View file

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