Pedantic change, stops my editor from treating all of the code as one long sting in ' ' (as the ' was escaped with \)
This commit is contained in:
@@ -69,7 +69,7 @@ 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"
|
||||||
|
|||||||
Reference in New Issue
Block a user