handle a failcase better

This commit is contained in:
Rudolf Polzer 2010-09-29 15:11:33 +02:00
parent 7f344c656a
commit 509d1a597b

View File

@ -223,6 +223,7 @@ getthemap()
if ! curl -o "$bspdir/$M-$blobhash.pk3" "$url$M-$blobhash.pk3"; then
rm -f "$bspdir/$M-$blobhash.pk3"
echo "WARNING: could not download $url$M-$blobhash.pk3, maybe not ready yet"
getthemap_fail=true
return 0
fi
fi