mirror of
https://github.com/ClementTsang/bottom.git
synced 2024-09-11 11:46:59 +03: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…
Reference in New Issue
Block a user