update: return errors also with --quiet

fixes #4040
cute-signatures
Natanael Copa 2015-04-10 17:33:21 +00:00
parent 60dd5798c9
commit 2322ba0ad9
1 changed files with 1 additions and 1 deletions

View File

@ -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];