mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-08 21:16:39 +09:00
feature #1303: downloader.sh doesn't send garbage to the oned.log file
This commit is contained in:
1 parent
71ab59f84f
commit
6a64854166
1 file changed
+4
-3
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user