fix fetchurl
This commit is contained in:
parent
fca51849ec
commit
5c0816567d
@ -34,6 +34,7 @@ tryDownload() {
|
|||||||
# keep this inside an if statement, since on failure it doesn't abort the script
|
# keep this inside an if statement, since on failure it doesn't abort the script
|
||||||
if $curl -C - --fail "$url" --output "$downloadedFile"; then
|
if $curl -C - --fail "$url" --output "$downloadedFile"; then
|
||||||
success=1
|
success=1
|
||||||
|
break
|
||||||
else
|
else
|
||||||
curlexit=$?;
|
curlexit=$?;
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user