Added -s flag to curl to silence it
This commit is contained in:
parent
a734bbf83b
commit
de8c7de945
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user