summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/data_harvester.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/data_harvester.rs b/src/app/data_harvester.rs
index b4d437a5..36d705dc 100644
--- a/src/app/data_harvester.rs
+++ b/src/app/data_harvester.rs
@@ -182,7 +182,7 @@ impl DataCollector {
self.sys.refresh_networks_list();
}
- if cfg!(target_os = "freebsd") && self.widgets_to_harvest.use_cpu {
+ if self.widgets_to_harvest.use_proc || self.widgets_to_harvest.use_cpu {
self.sys.refresh_cpu();
}