Update network_ping.sh
This commit is contained in:
parent
45ad8cdafd
commit
a0987b8b96
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ ping_function() {
|
|||
# storing the hostname/IP in the variable PINGSERVER, default is google.com
|
||||
pingserver=$(get_tmux_option "@dracula-ping-server" "google.com")
|
||||
pingtime=$(ping -c 1 "$pingserver" | tail -1 | awk '{print $4}' | cut -d '/' -f 2)
|
||||
echo $pingtime
|
||||
echo "$pingtime ms"
|
||||
;;
|
||||
|
||||
CYGWIN* | MINGW32* | MSYS* | MINGW*)
|
||||
|
|
Loading…
Reference in a new issue