Remove pointless variable

This commit is contained in:
Dylan 2016-03-03 15:23:14 +11:00
parent b587c3f7c9
commit 9ebfaf40bb

View file

@ -2290,8 +2290,7 @@ esac
bar() {
# Get the values
percent="$1"
elapsed=$((percent * progress_length / $2))
elapsed=$(($1 * progress_length / $2))
# Create the bar with spaces
prog=$(printf %"$elapsed"s)