Fixed missing whitespace

This commit is contained in:
TimZ99 2020-05-18 21:50:18 +02:00
parent c9b5fc4dfe
commit ceb5fe65b9
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 1 additions and 1 deletions

View File

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