Change spinstr to match install and uninstall scripts

This commit is contained in:
Promofaux 2016-04-03 21:54:16 +01:00
parent c6fb0bad4b
commit 0e6e8040ba

View file

@ -74,7 +74,7 @@ fi
spinner() { spinner() {
local pid=$1 local pid=$1
local delay=0.50 local delay=0.50
local spinstr='|/-\' local spinstr='/-|'
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"