mirror of
https://github.com/smxi/inxi.git
synced 2025-04-17 23:29:11 +00:00
added exit to gawk loop
This commit is contained in:
parent
9cef50f286
commit
07107f432f
1 changed files with 1 additions and 0 deletions
1
inxi
1
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
|
||||
|
|
Loading…
Add table
Reference in a new issue