mirror of
https://github.com/Icinga/icinga-powershell-framework.git
synced 2025-12-24 00:29:38 -05:00
Merge pull request #72 from n35k3nd1r/master
fix Problem with existing 'InstallDir' while running Install-IcingaAgent
This commit is contained in:
commit
7542cd92c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue