feat: 使用 bash 預設的指令

This commit is contained in:
2026-03-25 22:21:43 +08:00
parent 71938b5b42
commit bcd0766c95
2 changed files with 3 additions and 3 deletions

View File

@@ -28,8 +28,8 @@ while true; do
break
fi
# 休息 60 秒後重試
/usr/bin/sleep 60
# 使用 bash 內建等待 60 秒,避免 sleep 指令不存在
read -r -t 60 _ < /dev/null || true
done
# 將狀態碼輸出到環境變數