From 33636dc58b486c86d9fc397c0557bf892927fe9b Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sun, 27 Apr 2014 21:06:50 +0000 Subject: [PATCH] small cleanup for bsd section --- inxi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/inxi b/inxi index e0988dd..2f34693 100755 --- a/inxi +++ b/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'