From 0aea4d271cdc7002ea16c68fd54d4825bfbdcc6e Mon Sep 17 00:00:00 2001 From: William Harrington <kb0iic@berzerkula.org> Date: Thu, 1 Apr 2021 15:47:00 -0500 Subject: Adjust indention and syntax. --- functions.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'functions.sh') diff --git a/functions.sh b/functions.sh index 43bf4d1..63fa887 100644 --- a/functions.sh +++ b/functions.sh @@ -103,8 +103,8 @@ function spinner() { local i=0 tput civis # cursor invisible tput bold setaf 7 - while kill -0 $pid 2>/dev/null; do - local i=$(((i + $charwidth) % ${#spin})) + while kill -0 "$pid" 2>/dev/null; do + local i=$(((i + charwidth) % ${#spin})) printf "%b" "${spin:$i:$charwidth}" cursorBack 1 -- cgit v1.2.3-54-g00ecf