From 6b1d53726953c771b82c39f7566a30327b79f974 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Wed, 7 May 2025 15:45:26 +0200 Subject: [PATCH] fixed --- misc/build.func | 1 - misc/core.func | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/misc/build.func b/misc/build.func index 43d5628..d6bf61a 100644 --- a/misc/build.func +++ b/misc/build.func @@ -279,7 +279,6 @@ echo_default() { # This function is called when the user decides to exit the script. It clears the screen and displays an exit message. exit_script() { - [[ -n "${SPINNER_PID:-}" ]] && kill "$SPINNER_PID" &>/dev/null || true clear echo -e "\n${CROSS}${RD}User exited script${CL}\n" exit diff --git a/misc/core.func b/misc/core.func index 9d0f27d..bae272e 100644 --- a/misc/core.func +++ b/misc/core.func @@ -132,7 +132,7 @@ __curl_err_handler() { *) msg_error "Unhandled curl error (exit $exit_code) in: $cmd" ;; esac - exit_script + exit } # This function displays an informational message with logging support.