Browse Source

fix wait

master
lework 5 years ago
parent
commit
7b6cf52216
  1. 4
      shell/docker_hub_speed_test.sh
  2. 4
      shell/os_repo_speed_test.sh

4
shell/docker_hub_speed_test.sh

@ -55,8 +55,8 @@ function spinner() {
local pid=$(ps -ef | grep -E '[w]get.*-4O /dev/null -T300' | awk '{print $2}') # Process Id of the previous running command local pid=$(ps -ef | grep -E '[w]get.*-4O /dev/null -T300' | awk '{print $2}') # Process Id of the previous running command
local spin='◐◓◑◒' local spin='-\|/'
local charwidth=3 local charwidth=1
local i=0 local i=0
tput civis # cursor invisible tput civis # cursor invisible

4
shell/os_repo_speed_test.sh

@ -58,8 +58,8 @@ function spinner() {
local pid=$(ps -ef | grep -E '[w]get.*-4O /dev/null -T300' | awk '{print $2}') # Process Id of the previous running command local pid=$(ps -ef | grep -E '[w]get.*-4O /dev/null -T300' | awk '{print $2}') # Process Id of the previous running command
local spin='◐◓◑◒' local spin='-\|/'
local charwidth=3 local charwidth=1
local i=0 local i=0
tput civis # cursor invisible tput civis # cursor invisible

Loading…
Cancel
Save