diff options
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cache.c b/src/cache.c index f694085..aa43bdd 100644 --- a/src/cache.c +++ b/src/cache.c @@ -66,9 +66,9 @@ static int cache_download(struct apk_database *db) if (repo == NULL) continue; - r = apk_cache_download(db, repo, pkg, APK_SIGN_VERIFY_IDENTITY, + r = apk_cache_download(db, repo, pkg, APK_SIGN_VERIFY_IDENTITY, 0, progress_cb, &prog); - if (r) { + if (r && r != -EALREADY) { apk_error(PKG_VER_FMT ": %s", PKG_VER_PRINTF(pkg), apk_error_str(r)); ret++; } |