Commit fac43e2d authored by Timo Teräs's avatar Timo Teräs
Browse files

db: make missing index non-fatal

it's a warning not an error to have non-existant repository.
bad signature means tampering; but we might want to just ignore
those. this is especially important if we have http repositories
and we are bootstrapping (without network).
parent 20b3c7c8
......@@ -1282,7 +1282,7 @@ int apk_db_add_repository(apk_database_t _db, apk_blob_t repository)
if (bs == NULL) {
apk_warning("Failed to open index for %s", repo->url);
return -1;
return 0;
r = load_index(db, bs, targz, r);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment