Merge pull request #871 from dawidd6/busybox
disk: change Haiku's df detection
This commit is contained in:
commit
bb4bc945be
2
neofetch
2
neofetch
|
@ -2032,7 +2032,7 @@ get_disk() {
|
||||||
# Get "df" version.
|
# Get "df" version.
|
||||||
df_version="$(df --version 2>&1)"
|
df_version="$(df --version 2>&1)"
|
||||||
case "$df_version" in
|
case "$df_version" in
|
||||||
*"blocks"*) # Haiku
|
*"Tracker"*) # Haiku
|
||||||
err "Your version of df cannot be used due to the non-standard flags"
|
err "Your version of df cannot be used due to the non-standard flags"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
|
Reference in New Issue