Exit 1 after error for build arch
This commit is contained in:
parent
c525fe661c
commit
53157c0c47
1 changed files with 1 additions and 0 deletions
|
@ -333,6 +333,7 @@ done
|
||||||
# Check if a architecture is available
|
# Check if a architecture is available
|
||||||
if [ "${#BUILD_LIST[@]}" -eq 0 ]; then
|
if [ "${#BUILD_LIST[@]}" -eq 0 ]; then
|
||||||
echo "[ERROR] You need select a architecture for build!"
|
echo "[ERROR] You need select a architecture for build!"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#### Main ####
|
#### Main ####
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue