Skip to content

Commit c5101d3

Browse files
authored
Revert "Prevent double spinner (#2203)" (#2211)
This reverts commit 33ef8aa.
1 parent 5bbf197 commit c5101d3

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

ct/create_lxc.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ function spinner() {
6464

6565
# This function displays an informational message with a yellow color.
6666
function msg_info() {
67-
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
6867
local msg="$1"
6968
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
7069
spinner &

misc/build.func

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,6 @@ spinner() {
9898

9999
# This function displays an informational message with a yellow color.
100100
msg_info() {
101-
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
102101
local msg="$1"
103102
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
104103
spinner &

misc/install.func

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ spinner() {
9090

9191
# This function displays an informational message with a yellow color.
9292
msg_info() {
93-
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then kill $SPINNER_PID > /dev/null; fi
9493
local msg="$1"
9594
echo -ne "${TAB}${YW}${HOLD}${msg}${HOLD}"
9695
spinner &

0 commit comments

Comments
 (0)