xbps_repository_pool_init: don't loop forever if repo pkg-index.plist files cannot be internalized.

This commit is contained in:
Juan RP 2010-12-19 17:46:32 +01:00
parent e01399c242
commit f9d0a639f2

View File

@ -137,12 +137,11 @@ xbps_repository_pool_init(void)
free(rpool->rpi);
free(rpool);
free(plist);
rv = errno;
if (errno == ENOENT) {
errno = 0;
nmissing++;
continue;
}
rv = errno;
xbps_dbg_printf("%s: cannot internalize plist %s: %s\n",
__func__, plist, strerror(errno));
goto out;