From de8c7de945661d0a25fcc38991da84acbec7a040 Mon Sep 17 00:00:00 2001 From: Tristan Ancelet Date: Sat, 18 Nov 2023 19:35:41 -0600 Subject: [PATCH] Added -s flag to curl to silence it --- install-discord-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-discord-linux.sh b/install-discord-linux.sh index d730b8c..0f25efd 100755 --- a/install-discord-linux.sh +++ b/install-discord-linux.sh @@ -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"