From c0633a4368edb18e1c0e79af140192a0aa338c7c Mon Sep 17 00:00:00 2001 From: Jakub Wilk Date: Fri, 4 Feb 2022 08:30:27 +0100 Subject: [PATCH] Remove dead code --- screenfetch-dev | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenfetch-dev b/screenfetch-dev index 0b782d4c..38f90023 100755 --- a/screenfetch-dev +++ b/screenfetch-dev @@ -1619,7 +1619,7 @@ detectcpu () { break fi done - if [ -e "$thermal" ] && [ "${thermal:+isSetToNonNull}" = 'isSetToNonNull' ]; then + if [ -e "$thermal" ]; then temperature=$(bc <<< "scale=1; $(cat "$thermal")/1000") fi fi