remove bad {

This commit is contained in:
Marcus Hildum 2016-10-21 23:59:31 -07:00
parent 21b906e0e0
commit ec4f5007e7

View file

@ -65,7 +65,7 @@ spinner() {
while [ "$(ps a | awk '{print $1}' | grep "${pid}")" ]; do while [ "$(ps a | awk '{print $1}' | grep "${pid}")" ]; do
local temp=${spinstr#?} local temp=${spinstr#?}
printf " [%c] " "${spinstr}" printf " [%c] " "${spinstr}"
local spinstr=${temp}${spinstr%"${temp}"} local spinstr=${temp}${spinstr%"$temp}"}
sleep ${delay} sleep ${delay}
printf "\b\b\b\b\b\b" printf "\b\b\b\b\b\b"
done done