From d71b249de2c88e17840e203e8e21d91eefa26c93 Mon Sep 17 00:00:00 2001 From: Sihu Hwang <129564966+hwangsihu@users.noreply.github.com> Date: Sat, 11 Apr 2026 16:14:17 +0900 Subject: [PATCH] update_script: Add retry logic --- util/update_scripts.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/util/update_scripts.sh b/util/update_scripts.sh index bcb3c1468a..57b5760439 100755 --- a/util/update_scripts.sh +++ b/util/update_scripts.sh @@ -7,6 +7,7 @@ cd "$(dirname "$0")"/.. for scr in scripts.d/**/*.sh; do echo "Processing ${scr}" +for attempt in $(seq 1 3); do ( source "$scr" @@ -86,6 +87,9 @@ echo "Processing ${scr}" break fi done -) +) && break + echo "Attempt ${attempt}/3 failed for ${scr}, retrying in 5s..." + sleep 5 +done echo done