From 9b1272edac500806667cc1bec4e81bbe3a53c0a6 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sun, 2 Dec 2018 17:52:23 -0600 Subject: [PATCH] mc: properly handle spaces in MOTD during server properties setup --- minecraft-server/start-finalSetup04ServerProperties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft-server/start-finalSetup04ServerProperties b/minecraft-server/start-finalSetup04ServerProperties index cd32783d..e07aa0bc 100755 --- a/minecraft-server/start-finalSetup04ServerProperties +++ b/minecraft-server/start-finalSetup04ServerProperties @@ -36,7 +36,7 @@ if [ ! -e $SERVER_PROPERTIES ]; then # If not provided, generate a reasonable default message-of-the-day, # which shows up in the server listing in the client - if [ -z $MOTD ]; then + if [ -z "$MOTD" ]; then # snapshot is the odd case where we have to look at version to identify that label if [[ ${ORIGINAL_TYPE} == "VANILLA" && ${VERSION} == "SNAPSHOT" ]]; then label=SNAPSHOT