merge bitcoin#14883: add --retry 5 to curl opts in install_db4.sh

This commit is contained in:
Kittywhiskers Van Gogh 2018-12-06 03:59:37 +00:00
parent e0ffea36d7
commit d561e63cf9

View File

@ -50,7 +50,7 @@ http_get() {
if [ -f "${2}" ]; then
echo "File ${2} already exists; not downloading again"
elif check_exists curl; then
curl --insecure "${1}" -o "${2}"
curl --insecure --retry 5 "${1}" -o "${2}"
else
wget --no-check-certificate "${1}" -O "${2}"
fi