Fix disk usage

This commit is contained in:
Dylan 2016-05-13 10:26:04 +10:00
parent 0a2a94c914
commit c8694fa53a
1 changed files with 1 additions and 2 deletions

View File

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