summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cache.c b/src/cache.c
index 8cee1e4..ac1fba7 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -58,9 +58,9 @@ static int cache_download(struct apk_database *db)
continue;
apk_pkg_format_plain(pkg, APK_BLOB_BUF(item));
- apk_cache_download(db, repo->url, pkg->arch,
- item, cacheitem,
- APK_SIGN_VERIFY_IDENTITY);
+ r |= apk_cache_download(db, repo->url, pkg->arch,
+ item, cacheitem,
+ APK_SIGN_VERIFY_IDENTITY);
}
err: