Compare commits
No commits in common. "103e5858024e368b0cc71c1c6b4eed3a1920741f" and "4db0956d83cdac9438e3d55c42ab1b69d43b2e87" have entirely different histories.
103e585802
...
4db0956d83
@ -262,6 +262,12 @@ start_spinner() {
|
||||
|
||||
# === Spinner Stop (No wait!) ===
|
||||
stop_spinner() {
|
||||
if ps -p "$SPINNER_PID" >/dev/null 2>&1; then
|
||||
echo "Waiting for PID $SPINNER_PID"
|
||||
wait "$SPINNER_PID"
|
||||
else
|
||||
echo "PID $SPINNER_PID no longer exists"
|
||||
fi
|
||||
if [ "$SPINNER_ACTIVE" -eq 1 ] && [ -n "$SPINNER_PID" ]; then
|
||||
SPINNER_ACTIVE=0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user