summaryrefslogtreecommitdiff
path: root/src/database.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/database.c')
-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);