merge branch 'pr-1217'

Closes #1217
LGTMs: @cyphar @hqhq
This commit is contained in:
Aleksa Sarai 2016-12-24 09:31:38 +11:00
commit cae7979d1f
No known key found for this signature in database
GPG Key ID: 9E18AA267DDB8DB4
1 changed files with 3 additions and 0 deletions

View File

@ -94,6 +94,9 @@ func getDevices(path string) ([]*configs.Device, error) {
if err == ErrNotADevice {
continue
}
if os.IsNotExist(err) {
continue
}
return nil, err
}
out = append(out, device)