Improve retry on download failure

This commit is contained in:
Taiki Endo
2023-01-15 19:55:57 +09:00
parent d538488fe5
commit f6e4dc6296
3 changed files with 16 additions and 6 deletions

View File

@@ -11,7 +11,7 @@ x() {
)
}
retry() {
for i in {1..5}; do
for i in {1..10}; do
if "$@"; then
return 0
else