From c5101d3358580de7b9ffa28afa4f43022b5188ae Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 10 Feb 2025 11:29:59 +0100 Subject: [PATCH] Revert "Prevent double spinner (#2203)" (#2211) This reverts commit 33ef8aadbeb7df8b09319472cdcc272cab7ea8dd. --- ct/create_lxc.sh | 1 - misc/build.func | 1 - misc/install.func | 1 - 3 files changed, 3 deletions(-) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index df35a03b..a62fd2d0 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -64,7 +64,6 @@ function spinner() { # This function displays an informational message with a yellow color. function msg_info() { - if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi local msg="$1" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" spinner & diff --git a/misc/build.func b/misc/build.func index 1800bdc2..86f01b2f 100644 --- a/misc/build.func +++ b/misc/build.func @@ -98,7 +98,6 @@ spinner() { # This function displays an informational message with a yellow color. msg_info() { - if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi local msg="$1" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" spinner & diff --git a/misc/install.func b/misc/install.func index 5087510c..b0234479 100644 --- a/misc/install.func +++ b/misc/install.func @@ -90,7 +90,6 @@ spinner() { # This function displays an informational message with a yellow color. msg_info() { - if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi local msg="$1" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" spinner &