summaryrefslogtreecommitdiff
path: root/doc/examples
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-01-08 17:52:53 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2021-01-08 17:58:44 +0100
commitc7123bea6a8dc2c9e327ce41ddfc25e29f1bb145 (patch)
tree979d87e4f479100dda85f65452eba90fb4053b41 /doc/examples
parentd35d51ddbdc75512a73e713972f4bbb5a1fd73ae (diff)
Implement update --error-on=any
People have been asking for a feature to error out on transient network errors for a while, this gives them one while keeping the door open for other modes we need, such as --error-on=no-success which we need to determine when to retry the daily update job. Closes: #594813 (and a whole bunch of duplicates...)
Diffstat (limited to 'doc/examples')
-rw-r--r--doc/examples/configure-index1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/examples/configure-index b/doc/examples/configure-index
index 5ddf4132c..ecd54b6ba 100644
--- a/doc/examples/configure-index
+++ b/doc/examples/configure-index
@@ -166,6 +166,7 @@ APT
{
Pre-Invoke {"touch /var/lib/apt/pre-update-stamp"; };
Post-Invoke {"touch /var/lib/apt/post-update-stamp"; };
+ Error-Mode "<STRING>";
};
/* define a new supported compressor on the fly