about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-03-16T11·03+0100
committerEelco Dolstra <edolstra@gmail.com>2018-03-16T11·03+0100
commiteb75bc5afbaf2891a2db71e7932105223da94ac9 (patch)
treed00bd5326e1ae089e5a8e657c22a38c2db20fde7 /src
parent486872150638d56483c2bc429ba9e137d9974ee8 (diff)
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
Diffstat (limited to 'src')
-rw-r--r--src/libstore/download.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstore/download.cc b/src/libstore/download.cc
index 9d9f1153f4d5..6eb87096692f 100644
--- a/src/libstore/download.cc
+++ b/src/libstore/download.cc
@@ -340,6 +340,7 @@ struct CurlDownloader : public Downloader
                         case CURLE_BAD_FUNCTION_ARGUMENT:
                         case CURLE_INTERFACE_FAILED:
                         case CURLE_UNKNOWN_OPTION:
+                        case CURLE_SSL_CACERT_BADFILE:
                             err = Misc;
                             break;
                         default: // Shut up warnings