.automated_script.sh: add proper HTTP status checking
All threads resolved!
All threads resolved!
Compare changes
@@ -23,7 +23,7 @@ automated_script() {
Due to an influx of spam, we have had to temporarily disable account registrations. Please write an email to accountsupport@archlinux.org, with your desired username, if you want to get access. Sorry for the inconvenience.
When a download attempt fails with an HTTP error, the body of the failed request will be written to the output file with a 0 exit status, causing the execution of an error message as a script.
This issue is resolved by adding the --fail option to curl.