mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-01 20:25:28 +01:00
all.sh: Return error on keep-going failure
When calling all.sh from a script and using "--keep-going", errors were sometimes missed due to all.sh always returning 0 "success" return code. Return 1 if there is any failure encountered during a "keep-going" run.
This commit is contained in:
parent
00af447ba8
commit
7c1258dc78
1 changed files with 1 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ $text"
|
|||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
echo "${start_red}FAILED: $failure_count${end_color}$failure_summary"
|
||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||
exit 1
|
||||
elif [ -z "${1-}" ]; then
|
||||
echo "SUCCESS :)"
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue