mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-03-03 05:16:24 +00:00
Check both upper and lower arguments
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user