feature #1303: downloader.sh doesn't send garbage to the oned.log file

This commit is contained in:
Jaime Melis committed 2012-06-21 18:36:16 +02:00
1 parent 71ab59f84f
commit 6a64854166
1 file changed
+4 -3
+4 -3
View File
@@ -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"