Added -s flag to curl to silence it

This commit is contained in:
Tristan Ancelet 2023-11-18 19:35:41 -06:00
parent a734bbf83b
commit de8c7de945

View File

@ -27,7 +27,7 @@ function log () {
}
function get_remote_version(){
local REMOTE_VERSION=`curl $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
local REMOTE_VERSION=`curl -s $DOWNLOAD_URL | grep -Eo $VERSION_REGEX | head -n 1`
if [[ "$REMOTE_VERSION" ]]; then
echo "$REMOTE_VERSION"