Tell curl to also retry

This commit is contained in:
Greg Hellings
2024-04-20 15:11:21 +00:00
parent 2bd1d75d72
commit 3e360a000a
+1 -1
View File
@@ -10,7 +10,7 @@ for vars in $(find distros/ -name '*.pkrvars.hcl'); do
if [ -e "cache/${base}" ]; then
echo "Found cache/${base} already"
else
files+=("-O" "${file}")
files+=("--retry" "3" "--retry-all-errors" "-O" "${file}")
fi
done