From 9d97e8e55b6213f276f17f2a21848ffe56dcb0dc Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 5 Feb 2009 00:45:03 +0000 Subject: [PATCH] bug found and squashed --- inxi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inxi b/inxi index 7557f28..fdb130b 100755 --- a/inxi +++ b/inxi @@ -1,7 +1,7 @@ #!/bin/bash ######################################################################## #### Script Name: inxi -#### version: 0.9.10-b1-t4 +#### version: 0.9.10-b1-t5 #### Date: 4 February 2009 ######################################################################## #### SPECIAL THANKS @@ -2450,7 +2450,7 @@ get_partition_data_advanced() }' ) elif [[ -z "$dev_item" && -n "$dev_uuid" ]];then dev_item=$( echo "$dev_disk_uuid" | gawk ' - /'$dev_label'/ { + /'$dev_uuid'/ { item=gensub( /..\/..\/(.+)/, "\\1", 1, $NF ) print item }' )