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

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!"