From 88f790fb558164393eb2ea8561c7fc387d962810 Mon Sep 17 00:00:00 2001 From: Andreas Bachlechner <62039342+bachandi@users.noreply.github.com> Date: Tue, 28 Sep 2021 10:21:34 +0200 Subject: [PATCH] Remove hddtemp usage in nvme.pm as it doesn't support nvme at the moment. --- lib/nvme.pm | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/nvme.pm b/lib/nvme.pm index 95efa52..8cd9a57 100644 --- a/lib/nvme.pm +++ b/lib/nvme.pm @@ -231,15 +231,6 @@ sub nvme_update { } } close(IN); - if(!$temp) { - if(open(IN, "hddtemp -wqn $d |")) { - $temp = ; - close(IN); - } else { - logger("$myself: 'smartctl' failed to get data from '$d' and 'hddtemp' seems doesn't exist."); - } - } - chomp($temp); } $rrdata .= ":$temp"; $rrdata .= ":$smart1";