From 523ccbae2f4747024e57b4c410942bbddd48fec2 Mon Sep 17 00:00:00 2001 From: panxiao81 Date: Fri, 18 Sep 2026 18:13:48 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20runner=20token=20=E6=B8=85?= =?UTF-8?q?=E7=90=86=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/gitea-opensandbox-runner | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gitea-opensandbox-runner b/scripts/gitea-opensandbox-runner index cf54f2a..9bd605b 100644 --- a/scripts/gitea-opensandbox-runner +++ b/scripts/gitea-opensandbox-runner @@ -23,7 +23,8 @@ while (( SECONDS < deadline )); do curl --fail --silent --show-error --retry 10 --retry-all-errors \ --connect-timeout 2 --max-time 30 \ "$GITEA_RUNNER_REGISTRATION_TOKEN_URL" >"$token_file" - exec /usr/local/bin/run.sh + /usr/local/bin/run.sh + exit $? fi sleep 1 done