When curl fails with a 404 error, don't write this error to disk

Sheepson Apprentice 2010-04-04 14:30:29 -05:00
parent e70a5a8cfc
commit f75e0eefbb
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ set_downloader() {
if [[ $? -ne 0 ]] ; then
DOWNLOADER=wget
else
DOWNLOADER="curl -O"
DOWNLOADER="curl -f -O"
fi
}