From 4f876626641bd69b05e10c39fbbd6fb84f812a2b Mon Sep 17 00:00:00 2001 From: Drew Brown Date: Mon, 10 Jan 2022 06:56:28 -0600 Subject: [PATCH] fix: Set default MOTD if unset (#1265) Co-authored-by: Geoff Bourne --- scripts/start-setupServerProperties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/start-setupServerProperties b/scripts/start-setupServerProperties index c700702e..0a70273a 100755 --- a/scripts/start-setupServerProperties +++ b/scripts/start-setupServerProperties @@ -48,7 +48,7 @@ function customizeServerProps { # If not provided, generate a reasonable default message-of-the-day, # which shows up in the server listing in the client - if ! [ -v "$MOTD" ]; then + if ! [ -v 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