1
1
mirror of https://gitlab.com/ceda_ei/i3lock-delta synced 2025-10-25 04:40:05 +02:00

Make curl silent

This commit is contained in:
Eli Saado
2018-04-01 22:47:11 +02:00
committed by GitHub
parent 0445a4e7e3
commit 25093b7785

View File

@@ -24,7 +24,7 @@ image_url=$(curl -s $image_download_url | jq -r .url)
if [[ $? -ne 0 ]] ; then exit 1; fi if [[ $? -ne 0 ]] ; then exit 1; fi
# Download image and check if curl fails # Download image and check if curl fails
curl $image_url > ~/.rand_bg curl -s $image_url > ~/.rand_bg
if [[ $? -ne 0 ]] ; then exit 1; fi if [[ $? -ne 0 ]] ; then exit 1; fi
# Write author's name to file # Write author's name to file