mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-20 12:14:50 +02:00
other: refresh cpu for sysinfo users if proc is used (#991)
This commit is contained in:
parent
22e386a38c
commit
7f7a328977
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user