Tell curl to also retry
This commit is contained in:
@@ -10,7 +10,7 @@ for vars in $(find distros/ -name '*.pkrvars.hcl'); do
|
|||||||
if [ -e "cache/${base}" ]; then
|
if [ -e "cache/${base}" ]; then
|
||||||
echo "Found cache/${base} already"
|
echo "Found cache/${base} already"
|
||||||
else
|
else
|
||||||
files+=("-O" "${file}")
|
files+=("--retry" "3" "--retry-all-errors" "-O" "${file}")
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user