From 2212cab6880250bfb8cc5645504f0b7a554f1f2a Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Sat, 13 May 2017 11:36:30 +0700 Subject: [PATCH] Disk [AIX df]: Add version detection --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index de11ce83..bc2c3f9f 100755 --- a/neofetch +++ b/neofetch @@ -1807,7 +1807,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 - # AIX unknown + *"recognized flag"*) df_flags=(-P -g) ;; # AIX, untested # IRIX unknown *) df_flags=(-P -h) ;; esac