From bd15318705977be8ed85d1567fb3950b10d5d6c5 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Mon, 13 Feb 2012 05:27:36 +0000 Subject: [PATCH] fixed a logging bug, won't have any impact on users. --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index b95cb47..d03af4e 100755 --- a/inxi +++ b/inxi @@ -4951,7 +4951,7 @@ get_partition_data() if [[ $( grep -cs '[[:space:]]/$' <<< "$main_partition_data" ) -gt 1 ]];then main_partition_data="$( grep -vs '^rootfs' <<< "$main_partition_data" )" fi - log_function_data 'post-rootfs-filter' "main_partition_data:\n$main_partition_data\n\nswap_data:\n$swap_data" + log_function_data 'raw' "main_partition_data_post_rootfs:\n$main_partition_data\n\nswap_data:\n$swap_data" IFS=$'\n' # sample line: /dev/sda2 ext3 15G 8.9G 4.9G 65% /home # $NF = partition name; $(NF - 4) = partition size; $(NF - 3) = used, in gB; $(NF - 1) = percent used