From: Rudolf Polzer Date: Sun, 18 Jul 2010 17:08:13 +0000 (+0200) Subject: treat 404 as warning, not error X-Git-Tag: xonotic-v0.1.0preview~368 X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fxonotic.git;a=commitdiff_plain;h=8bfb119d5e7683fad2d1f49cffd99783a8591f45 treat 404 as warning, not error --- diff --git a/misc/tools/xonotic-map-compiler-autobuild b/misc/tools/xonotic-map-compiler-autobuild index 212d0a96..8f4d6a78 100755 --- a/misc/tools/xonotic-map-compiler-autobuild +++ b/misc/tools/xonotic-map-compiler-autobuild @@ -153,12 +153,12 @@ getthemap() if ! wget -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" - return 1 + return 0 fi if ! unzip -l "$bspdir/$M-$blobhash.pk3"; then rm -f "$bspdir/$M-$blobhash.pk3" echo "WARNING: could not download $url$M-$blobhash.pk3, invalid zip file" - return 1 + return 0 fi }