mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-11 14:34:44 +00:00
Add $SUDO call to spinner() in gravity.sh
This commit is contained in:
parent
eec14be10d
commit
cebdcc71a7
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ spinner(){
|
||||||
|
|
||||||
spin='-\|/'
|
spin='-\|/'
|
||||||
i=0
|
i=0
|
||||||
while kill -0 $pid 2>/dev/null
|
while $SUDO kill -0 $pid 2>/dev/null
|
||||||
do
|
do
|
||||||
i=$(( (i+1) %4 ))
|
i=$(( (i+1) %4 ))
|
||||||
printf "\b${spin:$i:1}"
|
printf "\b${spin:$i:1}"
|
||||||
|
|
Loading…
Reference in a new issue