5eeee2dd by Adam Heath

Fix animation_progress to display the status.

1 parent 84ec0394
...@@ -76,7 +76,7 @@ _start_animation() { ...@@ -76,7 +76,7 @@ _start_animation() {
76 } 76 }
77 77
78 _animation_progress() { 78 _animation_progress() {
79 printf "$animation_message: %s %s\r" "${animations[$animation_index]}" "$2" 79 printf "$animation_message: %s %s\r" "${animations[$animation_index]}" "$1"
80 animation_index=$(( ($animation_index + 1) % ${#animations[*]} )) 80 animation_index=$(( ($animation_index + 1) % ${#animations[*]} ))
81 } 81 }
82 82
......