From 26bac8e6683ab757367be24869f86fbe357c1921 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Thu, 5 Feb 2009 00:08:57 +0000 Subject: [PATCH] bug fix --- inxi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }