summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/update.c b/src/update.c
index 84833ec..72e8673 100644
--- a/src/update.c
+++ b/src/update.c
@@ -23,7 +23,7 @@ static int update_main(void *ctx, struct apk_database *db, struct apk_string_arr
char buf[32] = "OK:";
if (apk_verbosity < 1)
- return 0;
+ return db->repo_update_errors;
for (i = 0; i < db->num_repos; i++) {
repo = &db->repos[i];