From 1d5c4e3b0b274e52595748fe48304328157d3e1c Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Fri, 19 May 2017 21:32:52 -0700 Subject: [PATCH] Check both upper and lower arguments --- minecraft-server/start-minecraft.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-server/start-minecraft.sh b/minecraft-server/start-minecraft.sh index ce46fea5..1667265c 100755 --- a/minecraft-server/start-minecraft.sh +++ b/minecraft-server/start-minecraft.sh @@ -505,12 +505,12 @@ fi EXTRA_ARGS="" # Optional disable console -if [[ ${CONSOLE} = false ]]; then +if [[ ${CONSOLE} = false || ${CONSOLE} = FALSE ]]; then EXTRA_ARGS+="--noconsole" fi # Optional disable GUI for headless servers -if [[ ${GUI} = false ]]; then +if [[ ${GUI} = false || ${GUI} = FALSE ]]; then EXTRA_ARGS="${EXTRA_ARGS} nogui" fi