diff options
| author | Dariusz Pelowski <dariusz.pelowski@gmail.com> | 2024-05-29 13:21:41 +0200 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2024-06-05 11:18:45 +0300 |
| commit | 75e57093e617ce6f03b03168e54685cfff8e66d0 (patch) | |
| tree | 2887b907d1a48758782a6fff9281388b4756c6ef /CHANGELOG.rst | |
| parent | 4b709bcd5fc5e426ba75f72e1b80e59922d7c175 (diff) | |
| download | archiso-75e57093e617ce6f03b03168e54685cfff8e66d0.tar.gz archiso-75e57093e617ce6f03b03168e54685cfff8e66d0.tar.bz2 | |
.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: David Runge <dvzrv@archlinux.org>
Diffstat (limited to 'CHANGELOG.rst')
| -rw-r--r-- | CHANGELOG.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 34337cb..b989057 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -17,6 +17,8 @@ Deprecated Fixed ----- +- When downloading an automation script fail with non-zero status code instead of returning an HTML document when the remote HTTP server fails to deliver the document. + Removed ------- |
