curl options fix

This commit is contained in:
Jack L. Frost 2014-11-12 18:30:23 +03:00
parent 03d29593f5
commit 94a38ffd73

2
sup
View File

@ -145,7 +145,7 @@ main() {
if sup.if_url "$target"; then if sup.if_url "$target"; then
file=`sup.mktemp "$cfg_tmp_dir"` file=`sup.mktemp "$cfg_tmp_dir"`
curl -s "$target" > "$file" || { curl -skL "$target" > "$file" || {
sup.err "Could not download file." sup.err "Could not download file."
return 1 return 1
} }