From 7bb397a0312b58f149fac0577a73e2bd5b2ac514 Mon Sep 17 00:00:00 2001 From: Jack Wilsdon Date: Fri, 12 May 2017 21:10:57 +0100 Subject: [PATCH] Use cURL insecurely when downloading This fixes an error caused by the expired certificate on ci.mcadmin.net. --- 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 a8c81a9a..ac990468 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -75,7 +75,7 @@ function downloadSpigot { fi echo "Downloading $match" - curl -fsSL -o $SERVER "$downloadUrl" + curl -kfsSL -o $SERVER "$downloadUrl" status=$? if [ ! -f $SERVER ]; then echo "ERROR: failed to download from $downloadUrl (status=$status)"