From 55780b70f9d1514eb4fad9288b96b61013640987 Mon Sep 17 00:00:00 2001 From: Riccardo Bicelli Date: Tue, 13 Jul 2021 09:07:59 +0200 Subject: [PATCH] Fixed Typo in speedtest --- pfsense_zbx.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfsense_zbx.php b/pfsense_zbx.php index 98228d2..471edfd 100644 --- a/pfsense_zbx.php +++ b/pfsense_zbx.php @@ -213,7 +213,7 @@ function pfz_speedtest_exec ($ifname, $ipaddr){ if (file_exists($filerun)==false) { touch($filerun); - $st_command = "/usr/local/bin/speedtest --source $ipaddr --json > $filename"; + $st_command = "/usr/local/bin/speedtest --source $ipaddr --json > $filetmp"; exec ($st_command); rename($filetemp,$filename); @unlink($filerun);