1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

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

This commit is contained in:
Jaime Melis 2012-06-21 18:34:44 +02:00
parent 71ab59f84f
commit 6a64854166

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"