xbps_repository_pool_init: don't loop forever if repo pkg-index.plist files cannot be internalized.
This commit is contained in:
parent
e01399c242
commit
f9d0a639f2
@ -137,12 +137,11 @@ xbps_repository_pool_init(void)
|
|||||||
free(rpool->rpi);
|
free(rpool->rpi);
|
||||||
free(rpool);
|
free(rpool);
|
||||||
free(plist);
|
free(plist);
|
||||||
|
rv = errno;
|
||||||
if (errno == ENOENT) {
|
if (errno == ENOENT) {
|
||||||
errno = 0;
|
|
||||||
nmissing++;
|
nmissing++;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
rv = errno;
|
|
||||||
xbps_dbg_printf("%s: cannot internalize plist %s: %s\n",
|
xbps_dbg_printf("%s: cannot internalize plist %s: %s\n",
|
||||||
__func__, plist, strerror(errno));
|
__func__, plist, strerror(errno));
|
||||||
goto out;
|
goto out;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user