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 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-30 16:56:58 +02:00
commit ef487e547a

View file

@ -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 ;;