commit
cae7979d1f
|
@ -94,6 +94,9 @@ func getDevices(path string) ([]*configs.Device, error) {
|
||||||
if err == ErrNotADevice {
|
if err == ErrNotADevice {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
if os.IsNotExist(err) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
out = append(out, device)
|
out = append(out, device)
|
||||||
|
|
Loading…
Reference in New Issue