diff --git a/inxi b/inxi index 53b2f9b..a862d73 100755 --- a/inxi +++ b/inxi @@ -4190,6 +4190,9 @@ get_partition_data() }' ) ) IFS="$ORIGINAL_IFS" + temp_array=${A_PARTITION_DATA[@]} + log_function_data "1: A_PARTITION_DATA:\n$temp_array" + # now we'll handle some fringe cases where irregular df -hT output shows /dev/disk/.. instead of # /dev/h|sdxy type data for column 1, . A_PARTITION_DATA[6] # Here we just search for the uuid/label and then grab the end of the line to get the right dev item. @@ -4224,12 +4227,11 @@ get_partition_data() fi fi done - + temp_array=${A_PARTITION_DATA[@]} + log_function_data "2: A_PARTITION_DATA:\n$temp_array" if [[ $B_SHOW_LABELS == 'true' || $B_SHOW_UUIDS == 'true' ]];then get_partition_data_advanced fi - temp_array=${A_PARTITION_DATA[@]} - log_function_data "A_PARTITION_DATA: $temp_array" eval $LOGFE } @@ -4361,7 +4363,7 @@ get_partition_data_advanced() log_function_data 'cat' "$FILE_MOUNTS" fi temp_array=${A_PARTITION_DATA[@]} - log_function_data "A_PARTITION_DATA: $temp_array" + log_function_data "3-advanced: A_PARTITION_DATA:\n$temp_array" eval $LOGFE }