Fix spinner

This commit is contained in:
Ben Peddell 2016-05-30 18:18:05 +10:00
parent 2b160082aa
commit 6b9245cb63

View File

@ -380,7 +380,7 @@ function runSteamCMDspinner(){
return $?
else
if [ -z "$progressDisplayType" ]; then
if stty <&1 >/dev/null 2>&1; then
if stty <&2 >/dev/null 2>&1; then
progressDisplayType=spinner
else
progressDisplayType=dots