diff options
-rw-r--r-- | hddtemp.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hddtemp.lua b/hddtemp.lua index fe516e8..a2557fa 100644 --- a/hddtemp.lua +++ b/hddtemp.lua @@ -25,7 +25,7 @@ local function worker(format, port) local hdd_temp = {} for line in f:lines() do - local disk, temp = string.match(line, "|([%/%a]+)|.*|([%d]+)|[CF]+|") + local disk, temp = string.match(line, "|([%/%a%d]+)|.*|([%d]+)|[CF]+|") if disk ~= nil and temp ~= nil then hdd_temp["{"..disk.."}"] = tonumber(temp) |