Curl always reports errors in silent mode
This commit is contained in:
parent
232113e387
commit
09668af688
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ do_download () {
|
||||||
elif [[ -z "${curl_rc}" ]]; then
|
elif [[ -z "${curl_rc}" ]]; then
|
||||||
echo "Downloading ${url}..."
|
echo "Downloading ${url}..."
|
||||||
if [[ "${RUN_UNATTENDED}" -ne "0" ]]; then
|
if [[ "${RUN_UNATTENDED}" -ne "0" ]]; then
|
||||||
curl -sfL --output "${file_name}" "${url}"
|
curl -fsSL --output "${file_name}" "${url}"
|
||||||
else
|
else
|
||||||
curl -fL --output "${file_name}" --progress-bar "${url}"
|
curl -fL --output "${file_name}" --progress-bar "${url}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue