mirror of
https://github.com/JustKato/drive-health.git
synced 2026-03-19 15:09:46 +02:00
Temp Workaround
This commit is contained in:
@@ -39,7 +39,7 @@ func GetSystemHardDrives() ([]*HardDrive, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Filter out nvme drives (M.2)
|
// Filter out nvme drives (M.2)
|
||||||
if cols[1] != "nvme" {
|
if cols[1] != "nvme" && cols[5] != "Device" {
|
||||||
hd := &HardDrive{
|
hd := &HardDrive{
|
||||||
Name: cols[0],
|
Name: cols[0],
|
||||||
Transport: cols[1],
|
Transport: cols[1],
|
||||||
|
|||||||
Reference in New Issue
Block a user