diff --git a/download-latest.sh b/download-latest.sh index 4288fae53..e869bf53d 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -230,7 +230,7 @@ esac # Fetch the Meilisearch binary link="https://github.com/meilisearch/meilisearch/releases/download/$latest/$release_file" curl -OL "$link" -if [ $? -ne 0 ] +if [ $? -ne 0 ]; then fetch_release_failure_usage exit 1 fi