From cebdcc71a7ee100c33b4cee4e80c841740a40c5f Mon Sep 17 00:00:00 2001 From: Promofaux Date: Sun, 24 Jan 2016 21:27:25 +0000 Subject: [PATCH] Add $SUDO call to spinner() in gravity.sh --- gravity.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity.sh b/gravity.sh index 3d760215..db09a9ff 100755 --- a/gravity.sh +++ b/gravity.sh @@ -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}"