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:
parent
4cf81d39da
commit
ef487e547a
1 changed files with 1 additions and 0 deletions
|
|
@ -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 ;;
|
||||
|
|
|
|||
Loading…
Reference in a new issue