Commit 5d9901b3 authored by Dylan Araps's avatar Dylan Araps

Disk: Ommit 'i'

parent 91143de1
......@@ -1542,8 +1542,8 @@ get_disk() {
# Get the info for /
disks=($(df -P -h /)) || { err "Disk: 'df' exited with error code 1"; return; }
disk_used="${disks[9]}"
disk_total="${disks[8]}"
disk_used="${disks[9]/i}"
disk_total="${disks[8]/i}"
disk_total_per="(${disks[11]})"
# Put it all together
......
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