Commit 43eaf342 authored by Dylan Araps's avatar Dylan Araps

Disk: Test df output on travis

parent 15791154
...@@ -22,6 +22,11 @@ shopt -s nocasematch ...@@ -22,6 +22,11 @@ shopt -s nocasematch
# Reset colors/bold # Reset colors/bold
reset="\033[0m" reset="\033[0m"
echo; echo
df -h
echo; echo
exit
# DETECT INFORMATION # DETECT INFORMATION
get_os() { get_os() {
...@@ -1545,11 +1550,7 @@ get_disk() { ...@@ -1545,11 +1550,7 @@ get_disk() {
# Split the info # Split the info
case "$os" in case "$os" in
"Haiku") return ;; "Haiku") return ;;
"Mac OS X") "Mac OS X") ;;
disk_used="${disks[10]}"
disk_total="${disks[9]}"
disk_total_per="(${disks[12]})"
;;
*) *)
disk_used="${disks[9]}" disk_used="${disks[9]}"
......
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