mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-23 03:59:58 +00:00
Remove pointless variable
This commit is contained in:
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user