Remove pointless variable

This commit is contained in:
Dylan 2016-03-03 15:23:14 +11:00
parent b587c3f7c9
commit 9ebfaf40bb
1 changed files with 1 additions and 2 deletions

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)