Fixed Typo in speedtest

This commit is contained in:
Riccardo Bicelli 2021-07-13 09:07:59 +02:00
parent 06bf4d7d63
commit 55780b70f9
1 changed files with 1 additions and 1 deletions

View File

@ -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);