Disk: Ommit 'i'

This commit is contained in:
Dylan Araps 2016-12-17 00:12:51 +11:00
parent 91143de1a5
commit 5d9901b34e
1 changed files with 2 additions and 2 deletions

View File

@ -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