summaryrefslogtreecommitdiff
path: root/alsa-info
diff options
context:
space:
mode:
authorDavid Ward <david.ward@ll.mit.edu>2019-12-21 00:32:07 -0500
committerTakashi Iwai <tiwai@suse.de>2020-01-07 14:04:40 +0100
commit1ebe877b8d89c74e76efd47f2a4dba6cfccf86af (patch)
tree7dc424ee2d91b3183744d31d9def72ba03e6a802 /alsa-info
parentd928f7667cfead36b33f38ad7668ca96c6045d4e (diff)
downloadalsa-utils-1ebe877b8d89c74e76efd47f2a4dba6cfccf86af.tar.gz
alsa-info.sh: Remove progress spinner during upload without dialog
The spinner did not actually provide information about the status of the file upload, and caused other problems: it would repeatedly spawn new pgrep processes (without a delay between them), and it blocked the script if any wget process was running on the system. Signed-off-by: David Ward <david.ward@ll.mit.edu> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'alsa-info')
-rwxr-xr-xalsa-info/alsa-info.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/alsa-info/alsa-info.sh b/alsa-info/alsa-info.sh
index a02864d..9bc8c38 100755
--- a/alsa-info/alsa-info.sh
+++ b/alsa-info/alsa-info.sh
@@ -857,16 +857,7 @@ else
wget -O - --tries=5 --timeout=60 --post-file=$FILE http://pastebin.ca/quiet-paste.php?api=$PASTEBINKEY &>$TEMPDIR/wget.tmp &
fi
-#Progess spinner for wget transfer.
-i=1
-sp="/-\|"
-echo -n ' '
-while pgrep wget &>/dev/null
-do
- echo -en "\b${sp:i++%${#sp}:1}"
-done
-
-echo -e "\b Done!"
+echo -e " Done!"
echo ""
fi # dialog