From 7b6cf5221682ff29c31bd946e0638737b978995a Mon Sep 17 00:00:00 2001 From: lework Date: Tue, 31 Mar 2020 10:58:25 +0800 Subject: [PATCH] fix wait --- shell/docker_hub_speed_test.sh | 4 ++-- shell/os_repo_speed_test.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/shell/docker_hub_speed_test.sh b/shell/docker_hub_speed_test.sh index 759eabc..597b3e0 100644 --- a/shell/docker_hub_speed_test.sh +++ b/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 spin='◐◓◑◒' - local charwidth=3 + local spin='-\|/' + local charwidth=1 local i=0 tput civis # cursor invisible diff --git a/shell/os_repo_speed_test.sh b/shell/os_repo_speed_test.sh index 6bdc73a..12c6e44 100644 --- a/shell/os_repo_speed_test.sh +++ b/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 spin='◐◓◑◒' - local charwidth=3 + local spin='-\|/' + local charwidth=1 local i=0 tput civis # cursor invisible