Skip to content
Snippets Groups Projects

.automated_script.sh: add proper HTTP status checking

Merged Dariusz Pelowski requested to merge darekp/archiso:master into master
All threads resolved!
Files
2
@@ -23,7 +23,7 @@ automated_script() {
sleep 1
done
printf '%s: downloading %s\n' "$0" "${script}"
curl "${script}" --location --retry-connrefused --retry 10 -s -o /tmp/startup_script
curl "${script}" --location --retry-connrefused --retry 10 --fail -s -o /tmp/startup_script
rt=$?
else
cp "${script}" /tmp/startup_script
Loading