From f499415c208263dd61da76f90c47f46f6f1cbfa8 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Fri, 10 Jan 2020 17:48:26 +0200 Subject: [PATCH] kiss: Fix curl not exiting with error on 404 --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }