When curl fails with a 404 error, don't write this error to disk
parent
e70a5a8cfc
commit
f75e0eefbb
|
|
@ -68,7 +68,7 @@ set_downloader() {
|
|||
if [[ $? -ne 0 ]] ; then
|
||||
DOWNLOADER=wget
|
||||
else
|
||||
DOWNLOADER="curl -O"
|
||||
DOWNLOADER="curl -f -O"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue