Skip to content

Commit

Permalink
Merge pull request #840 from aristocratos/fix/zero_temp
Browse files Browse the repository at this point in the history
  • Loading branch information
aristocratos authored May 13, 2024
2 parents 3f917c0 + ebc86e9 commit ac62ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/linux/btop_collect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit ac62ba9

Please sign in to comment.