Commit 9ebfaf40 authored by Dylan's avatar Dylan

Remove pointless variable

parent b587c3f7
...@@ -2290,8 +2290,7 @@ esac ...@@ -2290,8 +2290,7 @@ esac
bar() { bar() {
# Get the values # Get the values
percent="$1" elapsed=$(($1 * progress_length / $2))
elapsed=$((percent * progress_length / $2))
# Create the bar with spaces # Create the bar with spaces
prog=$(printf %"$elapsed"s) prog=$(printf %"$elapsed"s)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment