summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLConfig.pm
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2018-06-13 09:49:28 +0000
committerNorbert Preining <preining@logic.at>2018-06-13 09:49:28 +0000
commitf6a44754b12559c5c7f813710aec7f42985b1682 (patch)
treea7093958e6daa90cc8060fa15e95230d52731013 /Master/tlpkg/TeXLive/TLConfig.pm
parentf85c0bf7fea253126e5d3c36f9689a7104c71afd (diff)
add --fail to curl invocation, otherwise it always returns 0 (sic!)
git-svn-id: svn://tug.org/texlive/trunk@47999 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/TeXLive/TLConfig.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLConfig.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/TeXLive/TLConfig.pm b/Master/tlpkg/TeXLive/TLConfig.pm
index 1522a08b0b8..c7b8e39cee4 100644
--- a/Master/tlpkg/TeXLive/TLConfig.pm
+++ b/Master/tlpkg/TeXLive/TLConfig.pm
@@ -116,7 +116,7 @@ our $DefaultFallbackDownloader = "wget";
our @AcceptedFallbackDownloaders = qw/curl wget/;
our %FallbackDownloaderProgram = ( 'wget' => 'wget', 'curl' => 'curl');
our %FallbackDownloaderArgs = (
- 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10',
+ 'curl' => ['--user-agent', 'texlive/curl', '--retry', '10', '--fail',
'--connect-timeout', "$NetworkTimeout", '--silent', '--output'],
'wget' => ['--user-agent=texlive/wget', '--tries=10',
"--timeout=$NetworkTimeout", '-q', '-O'],