Fix check-ping.ps1

This commit is contained in:
Markus Fleschutz 2021-03-30 09:47:21 +02:00
parent 5e1daeea5d
commit 4cd9a5a4e2

View File

@ -17,7 +17,7 @@ try {
if ($IsLinux) {
[int]$Latency = $Ping.latency
} else {
[int]$Latency = $Ping.time
[int]$Latency = $Ping.ResponseTime
}
if ($Latency -lt $Min) { $Min = $Latency }
if ($Latency -gt $Max) { $Max = $Latency }