From 8d65df0e2e539213ab592061a26653652604620d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 7 Apr 2025 09:42:52 +0200 Subject: [PATCH] Update install.func --- misc/install.func | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/misc/install.func b/misc/install.func index a761ebd..072a85c 100644 --- a/misc/install.func +++ b/misc/install.func @@ -297,7 +297,7 @@ get_gh_release() { http_code="${api_response:(-3)}" if [[ "$http_code" == "404" ]]; then - msg_error "Repository $repo hat kein Release (404)" + msg_error "Repository $repo has no Release candidate (404)" return 1 fi @@ -329,10 +329,9 @@ get_gh_release() { fi $STD msg_ok "Found release: $tag for $repo" - echo "$tag" return 0 done msg_error "Failed to fetch release for $repo after $max_attempts attempts." - return 1 + exit 1 }