File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -63,17 +63,16 @@ function acquireExternalTool() {
6363 echo " Curl version: $CURL_VERSION "
6464
6565 # curl -f Fail silently (no output at all) on HTTP errors (H)
66- # -k Allow connections to SSL sites without certs (H)
6766 # -S Show error. With -s, make curl show errors when they occur
6867 # -L Follow redirects (H)
6968 # -o FILE Write to FILE instead of stdout
7069 # --retry 3 Retries transient errors 3 times (timeouts, 5xx)
7170 if [[ " $( printf ' %s\n' " 7.71.0" " $CURL_VERSION " | sort -V | head -n1) " != " 7.71.0" ]]; then
7271 # Curl version is less than or equal to 7.71.0, skipping retry-all-errors flag
73- curl -fkSL --retry 3 -o " $partial_target " " $download_source " 2> " ${download_target} _download.log" || checkRC ' curl'
72+ curl -fSL --retry 3 -o " $partial_target " " $download_source " 2> " ${download_target} _download.log" || checkRC ' curl'
7473 else
7574 # Curl version is greater than 7.71.0, running curl with --retry-all-errors flag
76- curl -fkSL --retry 3 --retry-all-errors -o " $partial_target " " $download_source " 2> " ${download_target} _download.log" || checkRC ' curl'
75+ curl -fSL --retry 3 --retry-all-errors -o " $partial_target " " $download_source " 2> " ${download_target} _download.log" || checkRC ' curl'
7776 fi
7877
7978 # Move the partial file to the download target.
You can’t perform that action at this time.
0 commit comments