mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-22 03:37:12 +00:00
Disk: Fix flags on Minix 2
This commit is contained in:
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 /
|
||||||
|
|||||||
Reference in New Issue
Block a user