mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-09 18:36:19 +00:00
Check both upper and lower arguments
This commit is contained in:
1 parent
6a565692a0
commit
1d5c4e3b0b
1 file changed
+2
-2
@@ -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