mirror of
https://github.com/NixOS/nix
synced 2025-06-29 14:53:16 +02:00
Don't retry on CURLE_SSL_CACERT_BADFILE
The certificates won't get any better if we retry.
This commit is contained in:
parent
4868721506
commit
eb75bc5afb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue