Fix disk usage

This commit is contained in:
Dylan 2016-05-13 10:26:04 +10:00
parent 0a2a94c914
commit c8694fa53a

View file

@ -1739,9 +1739,8 @@ getdisk () {
"Linux" | "iPhone OS" | "Windows") df_flags="-h -l --total" ;; "Linux" | "iPhone OS" | "Windows") df_flags="-h -l --total" ;;
"Mac OS X" | "BSD") "Mac OS X" | "BSD")
case "$distro" in case "$distro" in
"OpenBSD"* | "NetBSD"*) return ;;
"FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;; "FreeBSD"* | *"OS X"* ) df_flags="-H / -l" ;;
*) df_flags="-h -c -l" ;; *) return ;;
esac esac
;; ;;
esac esac