From 68e7fd3d36f4ff93b3e9d2e3516aaf514cfb9dad Mon Sep 17 00:00:00 2001 From: Jure Bajic Date: Thu, 6 Oct 2022 15:55:23 +0200 Subject: [PATCH] Fix architecture check (#583) --- environment/util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/environment/util.sh b/environment/util.sh index 206bd6267..f1f215939 100644 --- a/environment/util.sh +++ b/environment/util.sh @@ -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!"