Skip to content

Commit cae7979

Browse files
committed
merge branch 'pr-1217'
Closes #1217 LGTMs: @cyphar @hqhq
2 parents 303f9a5 + 8f55948 commit cae7979

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libcontainer/devices/devices_unix.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,9 @@ func getDevices(path string) ([]*configs.Device, error) {
9494
if err == ErrNotADevice {
9595
continue
9696
}
97+
if os.IsNotExist(err) {
98+
continue
99+
}
97100
return nil, err
98101
}
99102
out = append(out, device)

0 commit comments

Comments
 (0)