From 07107f432fb7146b5f4fe00ebd2e7b5d7ef9e592 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Sat, 21 May 2011 23:14:27 +0000 Subject: [PATCH] added exit to gawk loop --- inxi | 1 + 1 file changed, 1 insertion(+) diff --git a/inxi b/inxi index 7a982a3..81a558e 100755 --- a/inxi +++ b/inxi @@ -2699,6 +2699,7 @@ get_de_version() /'$2'/ { gsub(",","",$0) # xfce output has , in it, so dump all commas print $'$3' + exit # so that only first match runs }' ) echo $version