TamtamHero / fw-fanctrl

A simple systemd service to better control Framework Laptop's fan(s)
BSD 3-Clause "New" or "Revised" License
183 stars 35 forks source link

Fix startup issue #8

Closed emrebicer closed 1 year ago

emrebicer commented 1 year ago

On my system when I turn on my laptop, the sensors -j does not return coretemp-isa-0000 key as expected (After I log in I can see that it returns the data as expected). Which results in a failed service and it stays failed unless I restart the service manually. This change will resolve this issue by early returning from the updateTemperature function if the desired output was not captured.

TamtamHero commented 1 year ago

Thanks !