From 3713d226ced92e736c957675a61c2d57c553d35d Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Tue, 29 Apr 2025 10:06:30 +0200 Subject: [PATCH] Update tools.func --- misc/tools.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tools.func b/misc/tools.func index 8a2962d..8fd5f99 100644 --- a/misc/tools.func +++ b/misc/tools.func @@ -760,11 +760,11 @@ import_local_ip() { function download_with_progress() { local url="$1" local output="$2" + if [ -n "$SPINNER_PID" ] && ps -p "$SPINNER_PID" >/dev/null; then kill "$SPINNER_PID" >/dev/null; fi if ! command -v pv &>/dev/null; then $STD apt-get install -y pv fi - stop_spinner set -o pipefail # Content-Length aus HTTP-Header holen