summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/database.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.c b/src/database.c
index 834383b..f7c3ac0 100644
--- a/src/database.c
+++ b/src/database.c
@@ -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);