From a1e684388480f213eee2e54e12bd92c52e43983d Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Wed, 22 Nov 2017 22:08:11 +0100 Subject: [PATCH] disk: change Haiku's df detection 'blocks' keyword is also present in busybox' df. Busybox' df also has -P and -h flags, so it can be detected as normal df. 'Tracker' keyword seems to be exclusive to Haiku's df. --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 9c8ad885..f129394c 100755 --- a/neofetch +++ b/neofetch @@ -2032,7 +2032,7 @@ get_disk() { # Get "df" version. df_version="$(df --version 2>&1)" case "$df_version" in - *"blocks"*) # Haiku + *"Tracker"*) # Haiku err "Your version of df cannot be used due to the non-standard flags" return ;;