mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
add --retry 5
to curl opts in install_db4.sh
This commit is contained in:
parent
e2c473ff75
commit
522b80b33f
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ http_get() {
|
||||||
if [ -f "${2}" ]; then
|
if [ -f "${2}" ]; then
|
||||||
echo "File ${2} already exists; not downloading again"
|
echo "File ${2} already exists; not downloading again"
|
||||||
elif check_exists curl; then
|
elif check_exists curl; then
|
||||||
curl --insecure "${1}" -o "${2}"
|
curl --insecure --retry 5 "${1}" -o "${2}"
|
||||||
else
|
else
|
||||||
wget --no-check-certificate "${1}" -O "${2}"
|
wget --no-check-certificate "${1}" -O "${2}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue