Fix issues with progress bar and memory usage

This commit is contained in:
Dylan 2016-03-03 14:14:02 +11:00
parent c2f4f04c9b
commit b587c3f7c9
2 changed files with 2 additions and 2 deletions

2
1.4.md
View file

@ -10,7 +10,7 @@
**Added the ability to print certain info as a progress bar.**
![1](https://cloud.githubusercontent.com/assets/6799467/13480732/04873af6-e134-11e5-9027-f8b120f58008.png)
![1](https://cloud.githubusercontent.com/assets/6799467/13483613/1cd0e1dc-e14a-11e5-8170-6de662cce562.png)
- Added `--progress_char` and `$progress_char` to set the character the progress bars<br \>
will be drawn with.

View file

@ -1079,7 +1079,7 @@ getmemory () {
esac
[ "$memory_bar" == "on" ] && \
memory+=" $(bar "$((memused / 100000))" "$((memtotal / 100000))")"
memory+=" $(bar "$memused" "$memtotal")"
}
# }}}