From e6b7f6f68200095d318071383c7e0bcef10f7259 Mon Sep 17 00:00:00 2001 From: inxi-svn Date: Fri, 24 Jun 2011 22:18:37 +0000 Subject: [PATCH] bug fix --- inxi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inxi b/inxi index 21e0457..e7014f5 100755 --- a/inxi +++ b/inxi @@ -5382,6 +5382,12 @@ get_sensors_data() tempWorking="" tempWorkingUnit="" } + # new data arriving: gpu temp in sensors, have to skip that + /^radeon-/ { + while ( getline && !/^$/ ) { + # do nothing, just skip it + } + } # dumping the extra + signs after testing for them, nobody has negative temps. # also, note gawk treats ° as a space, so we have to get the C/F data # there are some guesses here, but with more sensors samples it will get closer.