From ceb5fe65b914b9020e6434143230c735ce8076cd Mon Sep 17 00:00:00 2001 From: TimZ99 Date: Mon, 18 May 2020 21:50:18 +0200 Subject: [PATCH] Fixed missing whitespace --- src/psm/Util/Server/Updater/StatusUpdater.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/psm/Util/Server/Updater/StatusUpdater.php b/src/psm/Util/Server/Updater/StatusUpdater.php index 2b09fd39..230dfa54 100644 --- a/src/psm/Util/Server/Updater/StatusUpdater.php +++ b/src/psm/Util/Server/Updater/StatusUpdater.php @@ -187,7 +187,7 @@ class StatusUpdater } // execute PING - $txt = exec($pingCommand . " -c " . $max_runs . $serverIp . " 2>&1", $output); + $txt = exec($pingCommand . " -c " . $max_runs . " " . $serverIp . " 2>&1", $output); // Check if output is PING and if transmitted packets is equal to recieved packets. preg_match('/^(\d{1,3}) packets transmitted, (\d{1,3}).*$/', $output[count($output) - 2], $output_package_loss);