Disable disk function on NetBSD

This commit is contained in:
Dylan 2016-05-13 09:11:34 +10:00
parent 454546be5e
commit 8aa2c0168c
1 changed files with 1 additions and 1 deletions

View File

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