Commit b2e8c33c authored by Dylan Araps's avatar Dylan Araps

Disk: Fix progress bars

parent 5d9901b3
......@@ -1552,6 +1552,8 @@ get_disk() {
# Convert Terabytes to Gigabytes.
if [[ "$disk_display" != "off" ]]; then
disk_used="${disk_used/\.}"
disk_used="${disk_used/G}"
disk_total="${disk_total/G}"
disk_total="${disk_total/\.}"
[[ "${disk_used: -1}" == "T" ]] && \
......
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