From 575c743001c1d6aee935ab9bca58fda1fb1637f9 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 5 Feb 2009 01:36:03 +0000 Subject: [PATCH] Fixed small arch bug --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inxi b/inxi index e118b84..a19dd39 100755 --- a/inxi +++ b/inxi @@ -2404,7 +2404,7 @@ get_partition_data_advanced() # if this works, great, otherwise, just set this to null values partTemp="'$( readlink /dev/root 2>/dev/null )'" if ( partTemp != "" ) { - if ( partTemp ~ /^[hs]d[a-z][0-9]+$/ ) { + if ( partTemp ~ /[hs]d[a-z][0-9]/ ) { partition=gensub( /^(\/dev\/)(.+)$/, "\\2", 1, partTemp ) } else if ( partTemp ~ /by-uuid\/[a-z0-9]+-[a-z0-9]+-[a-z0-9]+/ ) {