Disk: Fix flags on Minix 2
This commit is contained in:
parent
2942abd46b
commit
b3932af501
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1556,8 +1556,8 @@ get_disk() {
|
||||||
# Get 'df' flags.
|
# Get 'df' flags.
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Haiku") err "Disk doesn't work on Haiku due to the non-standard 'df'"; return ;;
|
"Haiku") err "Disk doesn't work on Haiku due to the non-standard 'df'"; return ;;
|
||||||
"Minix") df_flags=(-P -h) ;;
|
"Minix") df_flags=(-h) ;;
|
||||||
*) df_flags=(-h) ;;
|
*) df_flags=(-P -h) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Get the info for /
|
# Get the info for /
|
||||||
|
|
Loading…
Reference in a new issue