1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-11-17 21:59:55 +00:00

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
local temp=${spinstr#?}
printf " [%c] " "${spinstr}"
local spinstr=${temp}${spinstr%"${temp}"}
local spinstr=${temp}${spinstr%"$temp}"}
sleep ${delay}
printf "\b\b\b\b\b\b"
done