mirror of
https://github.com/aristocratos/btop.git
synced 2026-06-12 01:34:24 -04:00
fix zero temp (#467)
This commit is contained in:
@@ -448,7 +448,7 @@ namespace Cpu {
|
||||
const int file_id = atoi(file.path().filename().c_str() + 4); // skip "temp" prefix
|
||||
string file_path = file.path();
|
||||
|
||||
if (!s_contains(file_path, file_suffix)) {
|
||||
if (!s_contains(file_path, file_suffix) or s_contains(file_path, "nvme")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user