mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-31 12:52:11 +00:00
14 lines
438 B
Diff
14 lines
438 B
Diff
Workaround [error] [file_utils.cpp:50] Error opening directory '/sys/class/hwmon/': Permission denied
|
|
|
|
--- a/src/overlay.cpp
|
|
+++ b/src/overlay.cpp
|
|
@@ -112,8 +112,6 @@
|
|
|
|
void update_hw_info(const struct overlay_params& params, uint32_t vendorID)
|
|
{
|
|
- if (params.enabled[OVERLAY_PARAM_ENABLED_fan])
|
|
- update_fan();
|
|
if (params.enabled[OVERLAY_PARAM_ENABLED_cpu_stats] || logger->is_active()) {
|
|
cpuStats.UpdateCPUData();
|
|
|