mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
merge bitcoin#14883: add --retry 5
to curl opts in install_db4.sh
This commit is contained in:
parent
e0ffea36d7
commit
d561e63cf9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user