curl options fix
This commit is contained in:
parent
03d29593f5
commit
94a38ffd73
2
sup
2
sup
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user