From ebc86e97029c7cd93e1ae44aceb6c36a0549fa6f Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Sat, 4 May 2024 20:59:04 +0200 Subject: [PATCH] fix zero temp (#467) --- src/linux/btop_collect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/btop_collect.cpp b/src/linux/btop_collect.cpp index 904e88b..d9f571f 100644 --- a/src/linux/btop_collect.cpp +++ b/src/linux/btop_collect.cpp @@ -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; }