From 618c9bc01062c558cfb6ffa660bb2c97317a8912 Mon Sep 17 00:00:00 2001 From: Ely Deckers Date: Mon, 21 Feb 2022 08:34:48 +0100 Subject: [PATCH] Use 0 as fallback for service_value --- pfsense_zbx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index 6b4ab4d..550e3e6 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -744,7 +744,7 @@ class Command }); if (empty($maybe_service)) { - return Util::result(""); + return Util::result(0); } $short_name = $maybe_service["name"];