Fixes icinga command always resetting cache

This commit is contained in:
Lord Hepipud 2022-08-17 15:26:52 +02:00
parent b7a0d3892d
commit 6d86c0fe28

View file

@ -321,7 +321,7 @@ function Invoke-IcingaCommand()
return "> " return "> "
} }
} -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, $DeveloperMode; } -Args $ScriptBlock, $PSScriptRoot, $IcingaFrameworkData.PrivateData.Version, ([bool]$Shell), $ArgumentList, ([bool]$DeveloperMode);
# In case we close the newly created PowerShell, ensure we set the script root back to the Framework folder # In case we close the newly created PowerShell, ensure we set the script root back to the Framework folder
if (Test-Path $PSScriptRoot) { if (Test-Path $PSScriptRoot) {