mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
bug fix
This commit is contained in:
parent
10adfe4701
commit
26bac8e668
2
inxi
2
inxi
|
@ -2401,7 +2401,7 @@ get_partition_data_advanced()
|
||||||
}
|
}
|
||||||
# handle Arch /dev/root for / id
|
# handle Arch /dev/root for / id
|
||||||
if ( partition == "root" ) {
|
if ( partition == "root" ) {
|
||||||
partTemp="'$( readlink /dev/root )'"
|
partTemp="'$( readlink /dev/root 2>/dev/null )'"
|
||||||
if ( partTemp ~ /^[hs]d[a-z][0-9]+$/ ) {
|
if ( partTemp ~ /^[hs]d[a-z][0-9]+$/ ) {
|
||||||
partition=partTemp
|
partition=partTemp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue