summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordreamscached2021-10-20 17:24:07 +0200
committerdreamscached2021-10-20 17:24:07 +0200
commita097c15e9cdadf0a30f4497b37fbe53be8ddf45a (patch)
treedc0652419180d54d1ab4db1b18ad3af4e122b805
parent1d917fd274cc5a16718b48f16f11e5ee2d86501b (diff)
downloadaur-a097c15e9cdadf0a30f4497b37fbe53be8ddf45a.tar.gz
upgrade.sh: fail on non-OK HTTP code
-rwxr-xr-xupgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/upgrade.sh b/upgrade.sh
index 80dbf1f3ad84..557e11f1d88b 100755
--- a/upgrade.sh
+++ b/upgrade.sh
@@ -14,7 +14,7 @@ tmp="$(mktemp)"
cleanup() { rm -f "$tmp"; }
trap cleanup EXIT
-curl -sL "${source[0]}" -o "$tmp"
+curl -fsL "${source[0]}" -o "$tmp"
sum="$(sha256sum "$tmp" | cut -c -64)"
cleanup