This commit is contained in:
inxi-svn 2009-02-05 00:08:57 +00:00
parent 10adfe4701
commit 26bac8e668

2
inxi
View file

@ -2401,7 +2401,7 @@ get_partition_data_advanced()
}
# handle Arch /dev/root for / id
if ( partition == "root" ) {
partTemp="'$( readlink /dev/root )'"
partTemp="'$( readlink /dev/root 2>/dev/null )'"
if ( partTemp ~ /^[hs]d[a-z][0-9]+$/ ) {
partition=partTemp
}