mirror of
https://github.com/morgan9e/gnome-shell-extension-freon
synced 2026-04-14 00:14:14 +09:00
Fixes issue #103 'parseHddTempOutput only listing first drive'
This commit is contained in:
@@ -159,7 +159,7 @@ function parseVoltageLine(label, value) {
|
||||
|
||||
function parseHddTempOutput(txt, sep) {
|
||||
let hddtemp_output = [];
|
||||
if (txt.indexOf((sep+sep), txt.length - (sep+sep).length))
|
||||
if (txt.indexOf((sep+sep), txt.length - (sep+sep).length) >= 0)
|
||||
{
|
||||
hddtemp_output = txt.split(sep+sep);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user