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);
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user