File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ download() {
35
35
if command -v wget > /dev/null 2>&1 ; then
36
36
wget --retry-connrefused --waitretry=5 -qO " $filename " " $url " 2>&1
37
37
elif command -v curl > /dev/null 2>&1 ; then
38
- curl --retry 5 --retry-connrefused --retry-delay 5 -sSLo " $filename " " $url "
38
+ curl --retry 5 --retry-all-errors --retry-delay 5 -sSLo " $filename " " $url "
39
39
else
40
40
echo " Could not find wget or curl command" >&2
41
41
return 1
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ download() {
35
35
if command -v wget > /dev/null 2>&1 ; then
36
36
wget --retry-connrefused --waitretry=5 -qO " $filename " " $url " 2>&1
37
37
elif command -v curl > /dev/null 2>&1 ; then
38
- curl --retry 5 --retry-connrefused --retry-delay 5 -sSLo " $filename " " $url "
38
+ curl --retry 5 --retry-all-errors --retry-delay 5 -sSLo " $filename " " $url "
39
39
else
40
40
echo " Could not find wget or curl command" >&2
41
41
return 1
You can’t perform that action at this time.
0 commit comments