Skip to content

Commit 0d09651

Browse files
set retry option for wget
1 parent 9535733 commit 0d09651

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

udroid/src/udroid.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ download() {
738738
LOG "download(): $name already exists in $path"
739739
GWARN "$name already exists, continuing with existing file"
740740
else
741-
wget -q --show-progress --progress=bar:force -O ${path}/$name "$link" 2>&1 || {
741+
wget -q --tries=10 --show-progress --progress=bar:force -O ${path}/$name "$link" 2>&1 || {
742742
ELOG "failed to download $name"
743743
echo "failed to download $name"
744744
exit 1

0 commit comments

Comments
 (0)