mirror of
https://github.com/smxi/inxi.git
synced 2024-11-16 16:21:39 +00:00
small cleanup for bsd section
This commit is contained in:
parent
052a5d16ed
commit
33636dc58b
3
inxi
3
inxi
|
@ -5424,8 +5424,7 @@ get_hdd_data_basic()
|
|||
else
|
||||
# default size is 512, , so use -k for 1024 -H only for size in human readable format
|
||||
# older bsds don't support -T, pain, so we'll use partial output there
|
||||
df_test=$( df -k -T 2>/dev/null )
|
||||
if df -H -T &>/dev/null;then
|
||||
if df -k -T &>/dev/null;then
|
||||
df_string='df -k -T'
|
||||
else
|
||||
df_string='df -k'
|
||||
|
|
Loading…
Reference in a new issue