From ef487e547a6ca7c3056b5aa785eb1eacda1a25bd Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 30 Sep 2026 16:56:58 +0200 Subject: [PATCH] ygg-verify: initialise line before the verdict loop (set -u) A Soul run hit "line: unbound variable", turning a remote exit 0 into a local exit 1. Co-Authored-By: Claude Opus 5.5 --- tools/stopgap/ygg-verify.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/stopgap/ygg-verify.sh b/tools/stopgap/ygg-verify.sh index 2b6fae4..0b4ee67 100644 --- a/tools/stopgap/ygg-verify.sh +++ b/tools/stopgap/ygg-verify.sh @@ -205,6 +205,7 @@ REMOTE # output and exit with it. If it never arrives the remote script died before its # own exit line, so refuse to report a status that was never produced. verdict=97 + line='' while IFS= read -r line; do case "$line" in "__YGG_VERDICT__ "*) verdict=${line#__YGG_VERDICT__ }; continue ;;