Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[thermalctld] No need exit thermalcltd when loading invalid policy fi…
…le (#172) Currently, when thermalctld loading an invalid policy file, it catches the exception and call sys.exit. However, there is a sub process created and sys.exit cause the daemon hang forever. Actually, it is not necessary to exit thermalctld here because: 1. Other than running thermal policy, there is a sub process which monitoring thermal status. So even if there is an invalid policy file, thermal monitoring can still work. 2. Even if we exit here, supervisord will restart thermalctld and it fall into the same exception again and again.
- Loading branch information