Add $SUDO call to spinner() in gravity.sh

This commit is contained in:
Promofaux 2016-01-24 21:27:25 +00:00
parent eec14be10d
commit cebdcc71a7

View file

@ -85,7 +85,7 @@ spinner(){
spin='-\|/'
i=0
while kill -0 $pid 2>/dev/null
while $SUDO kill -0 $pid 2>/dev/null
do
i=$(( (i+1) %4 ))
printf "\b${spin:$i:1}"