mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-18 13:51:20 +00:00
Removed invalid spigot/bukkit download along with debug of content
For #655
This commit is contained in:
1 parent
391e807c78
commit
544b1f243d
1 file changed
+7
@@ -85,6 +85,13 @@ ERROR: failed to download from $downloadUrl
|
|||||||
exact version, such as 1.4.6-R0.4-SNAPSHOT or 1.8-R0.1-SNAPSHOT-LATEST
|
exact version, such as 1.4.6-R0.4-SNAPSHOT or 1.8-R0.1-SNAPSHOT-LATEST
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
if isDebugging && [[ $(grep -c "DOCTYPE html" $SERVER) != 0 ]]; then
|
||||||
|
cat $SERVER
|
||||||
|
fi
|
||||||
|
|
||||||
|
# remove invalid download
|
||||||
|
rm $SERVER
|
||||||
exit 3
|
exit 3
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user