mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-02-16 23:43:27 +01:00
Add --fail-with-body flag to curl in script
This commit is contained in:
parent
2a90e805a2
commit
ccaca33446
@ -229,7 +229,7 @@ esac
|
|||||||
|
|
||||||
# Fetch the Meilisearch binary
|
# Fetch the Meilisearch binary
|
||||||
link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file"
|
link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file"
|
||||||
curl -OL "$link"
|
curl --fail-with-body -OL "$link"
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
fetch_release_failure_usage
|
fetch_release_failure_usage
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user