aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-10 15:48:26 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2020-01-10 15:48:26 +0000
commit32c63ca2ed0bfc8a5cbe1c3a9e281b5d9b623326 (patch)
tree57be3f3f0b7a22e3035ef8db078e7474c9a73458 /kiss
parent91446eeb7571fa0ae16e37d4b52047e5ba26ce0e (diff)
downloadcpt-32c63ca2ed0bfc8a5cbe1c3a9e281b5d9b623326.tar.gz
kiss: Fix curl not exiting with error on 404
FossilOrigin-Name: b86afce24f6e16742e357526e24bc078d3b65c66ec7f94a9bd03b3512e79d06e
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss2
1 files changed, 1 insertions, 1 deletions
diff --git a/kiss b/kiss
index e0d15d8..b6a44c1 100755
--- a/kiss
+++ b/kiss
@@ -148,7 +148,7 @@ pkg_sources() {
# Remote source.
elif [ -z "${src##*://*}" ]; then
- curl "$src" -Lo "${src##*/}" || {
+ curl "$src" -fLo "${src##*/}" || {
rm -f "${src##*/}"
die "$1" "Failed to download $src"
}