aboutsummaryrefslogtreecommitdiff
path: root/scripts/install.in
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/install.in')
-rwxr-xr-xscripts/install.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/install.in b/scripts/install.in
index 38d1fb36f..af5f71080 100755
--- a/scripts/install.in
+++ b/scripts/install.in
@@ -82,7 +82,7 @@ if [ "$(uname -s)" != "Darwin" ]; then
fi
if command -v curl > /dev/null 2>&1; then
- fetch() { curl -L "$1" -o "$2"; }
+ fetch() { curl --fail -L "$1" -o "$2"; }
elif command -v wget > /dev/null 2>&1; then
fetch() { wget "$1" -O "$2"; }
else