Temp Workaround
This commit is contained in:
parent
8f8da162e9
commit
c4aef27eda
|
@ -39,7 +39,7 @@ func GetSystemHardDrives() ([]*HardDrive, error) {
|
|||
}
|
||||
|
||||
// Filter out nvme drives (M.2)
|
||||
if cols[1] != "nvme" {
|
||||
if cols[1] != "nvme" && cols[5] != "Device" {
|
||||
hd := &HardDrive{
|
||||
Name: cols[0],
|
||||
Transport: cols[1],
|
||||
|
|
Loading…
Reference in New Issue