diff --git a/icinga-powershell-framework.psm1 b/icinga-powershell-framework.psm1 index 2816ad2..8a11df0 100644 --- a/icinga-powershell-framework.psm1 +++ b/icinga-powershell-framework.psm1 @@ -321,7 +321,7 @@ function Invoke-IcingaCommand() 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 if (Test-Path $PSScriptRoot) {