mirror of
https://github.com/itzg/docker-minecraft-server
synced 2025-01-18 23:13:53 +00:00
parent
b9f247728f
commit
ae9109e2bf
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ function downloadSpigot {
|
|||
downloadUrl=$(cat /tmp/versions | jq -r ".[] | select(.version == \"$match\") | .downloadUrl")
|
||||
if [[ -n $downloadUrl ]]; then
|
||||
echo "Downloading $match"
|
||||
curl -o $SERVER -sSL "x$downloadUrl"
|
||||
curl -o $SERVER -sSL "$downloadUrl"
|
||||
status=$?
|
||||
if [ $status != 0 ]; then
|
||||
echo "ERROR: failed to download from $downloadUrl due to (curl error code was $status)"
|
||||
|
|
Loading…
Reference in a new issue