xbps_repository_pool_init: if unexistent repos are registered,

ignore them but do not report any error.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091127005130-ut5dslafwnrg2pye
This commit is contained in:
Juan RP 2009-11-27 01:51:30 +01:00
parent 0173a28aa2
commit 0d0e6d06b1

View File

@ -122,10 +122,8 @@ xbps_repository_pool_init(void)
SIMPLEQ_INSERT_TAIL(&repodata_queue, rdata, chain);
}
if (ntotal - nmissing == 0) {
rv = EINVAL;
if (ntotal - nmissing == 0)
goto out;
}
repolist_initialized = true;
repolist_refcnt = 1;