From ccaca33446d46d0b0ef4c1f3566aace95c029499 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Mon, 7 Feb 2022 16:16:49 +0100 Subject: [PATCH] Add --fail-with-body flag to curl in script --- download-latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download-latest.sh b/download-latest.sh index e869bf53d..490039249 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -229,7 +229,7 @@ esac # Fetch the Meilisearch binary link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file" -curl -OL "$link" +curl --fail-with-body -OL "$link" if [ $? -ne 0 ]; then fetch_release_failure_usage exit 1