ignore expired https certs
This commit is contained in:
parent
446225ae59
commit
3188d1b071
@ -23,7 +23,7 @@ function retrieve_file() {
|
|||||||
else
|
else
|
||||||
rm -f $dst
|
rm -f $dst
|
||||||
if [ "$downloader" = "wget" ]; then
|
if [ "$downloader" = "wget" ]; then
|
||||||
wget --tries=1 -O $dst --timeout=5 -q --no-verbose "$src"
|
wget --no-check-certificate --tries=1 -O $dst --timeout=5 -q --no-verbose "$src"
|
||||||
if [ "$?" == "1" ] ; then
|
if [ "$?" == "1" ] ; then
|
||||||
rm $dst
|
rm $dst
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user