mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-14 04:32:12 +00:00
Disk [AIX df]: Changed df versioning detection
This commit is contained in:
2
neofetch
2
neofetch
@@ -1818,7 +1818,7 @@ get_disk() {
|
||||
df_version="$(df --version 2>&1)"
|
||||
case "$df_version" in
|
||||
*"blocks"*) err "Your version of df cannot be used due to the non-standard flags" ; return ;; # Haiku
|
||||
*"recognized flag"*) df_flags=(-P -g) ;; # AIX, untested
|
||||
*"IMitv"*) df_flags=(-P -g) ;; # AIX
|
||||
*"befhikm"*) df_flags=(-P -k) ;; # IRIX
|
||||
*) df_flags=(-P -h) ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user