Fix architecture check (#583)

This commit is contained in:
Jure Bajic 2022-10-06 15:55:23 +02:00 committed by GitHub
parent 5261d82063
commit 68e7fd3d36
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ check_architecture() {
for arch in "$@"; do
if [ "$(architecture)" = "$arch" ]; then
echo "The right architecture!"
exit 0
return 0
fi
done
echo "Not the right architecture!"