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:
parent
71ab59f84f
commit
6a64854166
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user