commit 73a346903e2d6d3292be2f97bf9372cc2576e88f
parent 9dbe5f1058eb98070d4364abf0dd010bc94d93f6
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 19 Mar 2020 09:49:50 +0100
Use silent option for curl
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.local/bin/upload b/.local/bin/upload
@@ -134,7 +134,7 @@ download_file() {
if command -v hurl >/dev/null 2>&1; then
hurl "$url" > ./"$1"
elif command -v curl >/dev/null 2>&1; then
- curl --fail -OL "$url"
+ curl --silent --fail -OL "$url"
elif command -v wget >/dev/null 2>&1; then
wget "$url"
else