Revert "Prevent double spinner (#2203)" (#2211)

This reverts commit 33ef8aadbe.
This commit is contained in:
CanbiZ 2025-02-10 11:29:59 +01:00 committed by GitHub
parent 5bbf197a8d
commit c5101d3358
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 0 additions and 3 deletions

View File

@ -64,7 +64,6 @@ function spinner() {
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.
function msg_info() { function msg_info() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
local msg="$1" local msg="$1"
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
spinner & spinner &

View File

@ -98,7 +98,6 @@ spinner() {
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.
msg_info() { msg_info() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
local msg="$1" local msg="$1"
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
spinner & spinner &

View File

@ -90,7 +90,6 @@ spinner() {
# This function displays an informational message with a yellow color. # This function displays an informational message with a yellow color.
msg_info() { msg_info() {
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
local msg="$1" local msg="$1"
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}" echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
spinner & spinner &