File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ download() {
3535 if command -v wget > /dev/null 2>&1 ; then
3636 wget --retry-connrefused --waitretry=5 -qO " $filename " " $url " 2>&1
3737 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 "
3939 else
4040 echo " Could not find wget or curl command" >&2
4141 return 1
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ download() {
3535 if command -v wget > /dev/null 2>&1 ; then
3636 wget --retry-connrefused --waitretry=5 -qO " $filename " " $url " 2>&1
3737 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 "
3939 else
4040 echo " Could not find wget or curl command" >&2
4141 return 1
You can’t perform that action at this time.
0 commit comments