mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-22 12:54:26 +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
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user