Remove pointless variable
This commit is contained in:
parent
b587c3f7c9
commit
9ebfaf40bb
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue