diff --git a/lib/icinga/checkresult/New-IcingaCheckResult.psm1 b/lib/icinga/checkresult/New-IcingaCheckResult.psm1 index c061f57..97550e0 100644 --- a/lib/icinga/checkresult/New-IcingaCheckResult.psm1 +++ b/lib/icinga/checkresult/New-IcingaCheckResult.psm1 @@ -18,7 +18,7 @@ function New-IcingaCheckresult() } # Compile the check / package if not already done - $this.check.Compile(); + $this.check.Compile() | Out-Null; Write-Host ([string]::Format('| {0}', $this.check.GetPerfData()));