From 069ab8e4f8b3ce6a11140ca8df6ed2785410f15b Mon Sep 17 00:00:00 2001 From: Lord Hepipud Date: Fri, 19 Jul 2019 20:01:15 +0200 Subject: [PATCH] Fixed broken plugin return code --- lib/icinga/checkresult/New-IcingaCheckResult.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()));