From 6a6485416632feb971abed25d52b6172eb17e6c9 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Thu, 21 Jun 2012 18:34:44 +0200 Subject: [PATCH] feature #1303: downloader.sh doesn't send garbage to the oned.log file --- src/datastore_mad/remotes/downloader.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/datastore_mad/remotes/downloader.sh b/src/datastore_mad/remotes/downloader.sh index f0b86672d6..3b095c01b6 100755 --- a/src/datastore_mad/remotes/downloader.sh +++ b/src/datastore_mad/remotes/downloader.sh @@ -154,9 +154,10 @@ export HASH_FILE="/tmp/downloader.hash.$$" case "$FROM" in http://*|https://*) - # -k so it does not check the certificate - # -L to follow redirects - command="curl -k -L $FROM" + # -k so it does not check the certificate + # -L to follow redirects + # -sS to hide output except on failure + command="curl -sS -k -L $FROM" ;; *) command="cat $FROM"