From ae9109e2bf66ab2009e7d591bb205d1e7c0b4ebf Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 24 Apr 2016 11:59:44 -0500 Subject: [PATCH] ...remove debugging code from Spigot download #74 --- minecraft-server/start-minecraft.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index 8c02fbd2..44220f30 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -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)"