Disk: Remove -P from flags
This commit is contained in:
parent
9b21e73276
commit
6c26589670
4
neofetch
4
neofetch
|
@ -1618,8 +1618,8 @@ get_disk() {
|
||||||
# Get "df" flags.
|
# Get "df" flags.
|
||||||
case "$os" in
|
case "$os" in
|
||||||
"Haiku") err "Disk doesn't work on Haiku due to the non-standard 'df'"; return ;;
|
"Haiku") err "Disk doesn't work on Haiku due to the non-standard 'df'"; return ;;
|
||||||
"Minix") df_flags=(-h) ;;
|
"Mac OS X") df_flags=(-P -h) ;;
|
||||||
*) df_flags=(-P -h) ;;
|
*) df_flags=(-h) ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# Create an array called 'disks' where each element is a separate line from
|
# Create an array called 'disks' where each element is a separate line from
|
||||||
|
|
Reference in New Issue