diff --git a/lib/icinga/plugin/New-IcingaCheckResult.psm1 b/lib/icinga/plugin/New-IcingaCheckResult.psm1 index d205e53..c7126ff 100644 --- a/lib/icinga/plugin/New-IcingaCheckResult.psm1 +++ b/lib/icinga/plugin/New-IcingaCheckResult.psm1 @@ -18,7 +18,7 @@ function New-IcingaCheckresult() } # Compile the check / package if not already done - $this.check.Compile() | Out-Null; + $this.check.Compile($TRUE) | Out-Null; if ([int]$this.check.exitcode -ne [int]$IcingaEnums.IcingaExitCode.Unknown -And -Not $this.noperfdata) { Write-Host ([string]::Format('| {0}', $this.check.GetPerfData()));