From 92d5bdd02548f609506ce6de317449bd67fcaa5f Mon Sep 17 00:00:00 2001 From: Alexander Plate Date: Wed, 17 Jun 2020 21:58:48 +0200 Subject: [PATCH] Update Install-IcingaAgent.psm1 --- lib/core/icingaagent/installer/Install-IcingaAgent.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 b/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 index 97ccf06..bb23a83 100644 --- a/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 +++ b/lib/core/icingaagent/installer/Install-IcingaAgent.psm1 @@ -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;