diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 17:33:21 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-04-10 17:33:21 +0000 |
commit | 2322ba0ad938c142d0bb7a715940fc75ccdbe91b (patch) | |
tree | 56bbca37ab9be7ae7d2c73448fbf749a232dd6db | |
parent | 60dd5798c90f0032b5c477bd35a2e0d49c280c7c (diff) | |
download | apk-tools-2322ba0ad938c142d0bb7a715940fc75ccdbe91b.tar.gz apk-tools-2322ba0ad938c142d0bb7a715940fc75ccdbe91b.tar.bz2 apk-tools-2322ba0ad938c142d0bb7a715940fc75ccdbe91b.tar.xz apk-tools-2322ba0ad938c142d0bb7a715940fc75ccdbe91b.zip |
update: return errors also with --quiet
fixes #4040
-rw-r--r-- | src/update.c | 2 |
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]; |