From bb50993763a27b49c7f8d6f3ee6e3e9ca8a1c0f7 Mon Sep 17 00:00:00 2001 From: Riccardo Bicelli Date: Thu, 8 Jul 2021 17:00:59 +0200 Subject: [PATCH] Fixed issue #78 --- pfsense_zbx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index 561bfac..c0a1bd4 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -214,7 +214,7 @@ function pfz_speedtest_exec ($ifname, $ipaddr){ touch($filerun); $st_command = "/usr/local/bin/speedtest --source $ipaddr --json > $filename"; exec ($st_command); - @unlik($filerun); + @unlink($filerun); } }