From 8bfb119d5e7683fad2d1f49cffd99783a8591f45 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Sun, 18 Jul 2010 19:08:13 +0200 Subject: [PATCH] treat 404 as warning, not error --- misc/tools/xonotic-map-compiler-autobuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } -- 2.39.2