From 83ed0e1c8e06f4eafdd4ae3a7a29a1a8e3bba6bb Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 29 Apr 2025 09:59:07 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/misc/tools.func b/misc/tools.func index b774bd5..8a2962d 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -764,11 +764,7 @@ function download_with_progress() { if ! command -v pv &>/dev/null; then $STD apt-get install -y pv fi - if [[ -n "${SPINNER_PID:-}" ]] && kill -0 "$SPINNER_PID" 2>/dev/null; then - kill "$SPINNER_PID" 2>/dev/null - wait "$SPINNER_PID" 2>/dev/null - unset SPINNER_PID - fi + stop_spinner set -o pipefail # Content-Length aus HTTP-Header holen