Merge pull request #2 from elisaado/patch-1

Make curl silent
This commit is contained in:
Ceda EI 2018-04-02 02:18:27 +05:30 committed by GitHub
commit c9401cf7b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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