diff --git a/choose-cn.sh b/choose-cn.sh index ecfebc9..4c9f733 100644 --- a/choose-cn.sh +++ b/choose-cn.sh @@ -44,7 +44,7 @@ do # 检查 curl 命令的返回状态 if [ $curl_status -eq 0 ]; then # 计算下载速度 - download_speed=$(echo "scale=2; (10000000*8)/(($elapsed_time)*100000)" | bc) + download_speed=$(echo "scale=2; (10000000*8)/(($elapsed_time)*1000000)" | bc) # 如果下载速度小于 50Mbps if (( $(echo "$download_speed < 50" | bc -l) )); then