Skip to content
Snippets Groups Projects
Commit 75e57093 authored by Dariusz Pelowski's avatar Dariusz Pelowski Committed by nl6720
Browse files

.automated_script.sh: add proper HTTP status checking


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.

Co-authored-by: default avatarDavid Runge <dvzrv@archlinux.org>
parent 4b709bcd
No related branches found
No related tags found
No related merge requests found
Pipeline #100437 passed