mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-03 23:44:16 +00:00
Changed handling of unrecognized VERSION and detect absent server in meta json
For #590
This commit is contained in:
@@ -26,6 +26,9 @@ if [ ! -e $SERVER ] || [ -n "$FORCE_REDOWNLOAD" ]; then
|
||||
if [ $result != 0 ]; then
|
||||
log "ERROR failed to obtain version manifest from $versionManifestUrl ($result)"
|
||||
exit 1
|
||||
elif [ $serverDownloadUrl = null ]; then
|
||||
log "ERROR version $VANILLA_VERSION does not provide a server download"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
debug "Downloading server from $serverDownloadUrl"
|
||||
|
||||
Reference in New Issue
Block a user