| commit | dc2b67185694c220a95525b6aeb717e663075e3c | [log] [tgz] |
|---|---|---|
| author | Piotr Szlazak <piotr.szlazak@gmail.com> | Thu Oct 09 22:10:55 2025 +0200 |
| committer | Piotr Szlazak <piotr.szlazak@gmail.com> | Thu Oct 09 22:10:55 2025 +0200 |
| tree | bd3817d0b7b814e19bd4265f42332a5338e493d9 | |
| parent | 04a31c1a520eac9d1844acc52665d0892bc4e35f [diff] |
Add curl '-f' option to fail on download problems By default curl will exit with exit code '0' even if there was a problem with the transfer. Option '-f' will make curl to exit with error code '22' if HTTP response code was 400 or higher. If there was a problem with transfer, it does not make sense to process the next command - chmod. Option '-f' was introduced in curl in version 4.0, released in 1998, so is safe to be used. Change-Id: I74b1669b48d10a690a290dae2c24480f3a6994c6
All documentation may be found under src/main/resources/Documentation/.