summaryrefslogtreecommitdiff
path: root/src/apk_database.h
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-07 09:57:42 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-07 10:49:51 +0200
commit944eae4b27d039608dd72b1d7b3ed015c20bdcc0 (patch)
tree7bf60e2d41308feb8e7b5af73e35eaf464821680 /src/apk_database.h
parent7e3f4c3d7996811a37393514d6f0eaacae7178e2 (diff)
downloadapk-tools-944eae4b27d039608dd72b1d7b3ed015c20bdcc0.tar.gz
apk-tools-944eae4b27d039608dd72b1d7b3ed015c20bdcc0.tar.bz2
apk-tools-944eae4b27d039608dd72b1d7b3ed015c20bdcc0.tar.xz
apk-tools-944eae4b27d039608dd72b1d7b3ed015c20bdcc0.zip
update: return failure if any mirror update failed
fixes #4040
Diffstat (limited to 'src/apk_database.h')
-rw-r--r--src/apk_database.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_database.h b/src/apk_database.h
index b2fa28e..315a429 100644
--- a/src/apk_database.h
+++ b/src/apk_database.h
@@ -148,6 +148,7 @@ struct apk_database {
char *cache_remount_dir;
apk_blob_t *arch;
unsigned int local_repos, available_repos;
+ int repo_update_errors;
unsigned int pending_triggers;
int performing_self_update : 1;
int permanent : 1;