diff --git a/quicklytest.sh b/quicklytest.sh index b581abe..3b2c2f1 100644 --- a/quicklytest.sh +++ b/quicklytest.sh @@ -38,7 +38,7 @@ check_script_update() #更新脚本 update_script() { - if curl -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh" || curl -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh"; then + if curl -sL -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh" || curl -sL -o "${BASH_SOURCE[0]}" "https://github.com/tsosunchia/nexttrace/raw/main/quicklytest.sh"; then echo -e "${Info} 脚本更新完成,请重新运行脚本!" exit 0 else