risfeng / aliyun-ddns-shell

阿里云域名解析动态更新IP Shell脚本
MIT License
333 stars 102 forks source link

在padavan中运行报错aliyun-ddns.sh: line 148: syntax error: bad for loop variable #35

Open liyuecdyxy opened 6 months ago

liyuecdyxy commented 6 months ago

aliyun-ddns.sh: line 148: syntax error: bad for loop variable

liyuecdyxy commented 6 months ago

已解决,将148行 for((i=1;i<=$var_check_online_retry_times;i++)); do 改为 for i in $(seq 1 $var_check_online_retry_times) do