Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
This commit is contained in:
parent
c37cedc57d
commit
38e144ec2b
|
@ -942,7 +942,7 @@ main(int argc, char **argv)
|
|||
if (fds[ndevs] > maxfd)
|
||||
maxfd = fds[ndevs];
|
||||
ndevs++;
|
||||
} else if (errno != ENXIO) {
|
||||
} else if (errno != ENXIO && errno != ENOENT) {
|
||||
/* there was an error, on a device that does
|
||||
* exist (device is configured)
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue