check-health: do not write unicode to log

This commit is contained in:
Christian Hesse 2020-11-20 12:01:15 +01:00
parent b97d5308b1
commit 13f7ba11da

View file

@ -72,7 +72,7 @@
}
:if ($Temperature > $CheckHealthLast->$Name + 20) do={
$LogPrintExit info ("The " . $Name . " spikes from " . $CheckHealthLast->$Name . \
"\C2\B0" . "C to " . $Temperature . "\C2\B0" . "C, ignoring.") false;
"C to " . $Temperature . "C, ignoring.") false;
:set Temperature ($CheckHealthLast->$Name);
:set ($CheckHealthCurrent->$Name) ($CheckHealthLast->$Name + 3);
}