mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
This commit is contained in:
parent
c37cedc57d
commit
38e144ec2b
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue