diff --git a/inxi b/inxi index 231c246..0a77f84 100755 --- a/inxi +++ b/inxi @@ -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 }