Deal with ENOENT properly on non-devfs machines

Broken in revision 1.109
This commit is contained in:
Brian Somers 2001-03-12 12:53:53 +00:00
parent dd689bd571
commit c4c6616ad6

View File

@ -721,11 +721,10 @@ bundle_Create(const char *prefix, int type, int unit)
} }
} }
#endif #endif
err = errno; if (errno != ENOENT || ++enoentcount > 2) {
break; err = errno;
} else if (errno == ENOENT) {
if (++enoentcount > 2)
break; break;
}
} else } else
err = errno; err = errno;
} }