mirror of
https://github.com/NixOS/nix.git
synced 2025-11-15 15:02:42 +01:00
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
(cherry picked from commit eb75bc5afb)
This commit is contained in:
parent
225ae5b62a
commit
073dac149b
1 changed files with 1 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ struct CurlDownloader : public Downloader
|
||||||
case CURLE_BAD_FUNCTION_ARGUMENT:
|
case CURLE_BAD_FUNCTION_ARGUMENT:
|
||||||
case CURLE_INTERFACE_FAILED:
|
case CURLE_INTERFACE_FAILED:
|
||||||
case CURLE_UNKNOWN_OPTION:
|
case CURLE_UNKNOWN_OPTION:
|
||||||
|
case CURLE_SSL_CACERT_BADFILE:
|
||||||
err = Misc;
|
err = Misc;
|
||||||
break;
|
break;
|
||||||
default: // Shut up warnings
|
default: // Shut up warnings
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue