Skip to content
Permalink
Browse files

Floor C unit before comparing to 0

  • Loading branch information...
NEMS Linux
NEMS Linux committed Mar 31, 2019
1 parent dabb609 commit 3043b75f60b1609bf74b7820cb6a37102395bece
Showing with 1 addition and 1 deletion.
  1. +1 −1 bootscreen.sh
@@ -45,7 +45,7 @@ cpupercent=$(/usr/local/bin/nems-info cpupercent)
diskusage=$(/usr/local/bin/nems-info diskusage)
temperatureC=$(/usr/local/bin/nems-info temperature)
# There's no way a CPU with a reported temp would be 0, so assume unknown
if (( $temperatureC == 0 )); then
if (( ${temperatureC%.*} == 0 )); then
temperatureF=0;
temps=''
else

0 comments on commit 3043b75

Please sign in to comment.
You can’t perform that action at this time.