From 5589fa171cf3b519950e9d3364a70cd7744cc138 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Dinator?= Date: Thu, 24 Oct 2024 14:03:02 -0300 Subject: [PATCH] Remove example from error message on invalid protocol MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastián Dinator --- gravity.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gravity.sh b/gravity.sh index f98ecdcf..a657727d 100755 --- a/gravity.sh +++ b/gravity.sh @@ -599,8 +599,7 @@ gravity_DownloadBlocklistFromUrl() { # Check for allowed protocols if [[ $url != "http"* && $url != "https"* && $url != "file"* && $url != "ftp"* && $url != "ftps"* && $url != "sftp"* ]]; then echo -e "${OVER} ${CROSS} ${str} Invalid protocol specified. Ignoring list." - echo -e " Ensure your URL starts with a valid protocol like http:// or https:// ." - echo -e " E.g., try http://localhost/adblock.txt instead of localhost/adblock.txt." + echo -e "Ensure your URL starts with a valid protocol like http:// , https:// or file:// ." download=false fi