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.
parent 4fd22875
......@@ -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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment