mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 14:22:27 +00:00
Check both upper and lower arguments
This commit is contained in:
parent
6a565692a0
commit
1d5c4e3b0b
1 changed files with 2 additions and 2 deletions
|
@ -505,12 +505,12 @@ fi
|
||||||
|
|
||||||
EXTRA_ARGS=""
|
EXTRA_ARGS=""
|
||||||
# Optional disable console
|
# Optional disable console
|
||||||
if [[ ${CONSOLE} = false ]]; then
|
if [[ ${CONSOLE} = false || ${CONSOLE} = FALSE ]]; then
|
||||||
EXTRA_ARGS+="--noconsole"
|
EXTRA_ARGS+="--noconsole"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Optional disable GUI for headless servers
|
# Optional disable GUI for headless servers
|
||||||
if [[ ${GUI} = false ]]; then
|
if [[ ${GUI} = false || ${GUI} = FALSE ]]; then
|
||||||
EXTRA_ARGS="${EXTRA_ARGS} nogui"
|
EXTRA_ARGS="${EXTRA_ARGS} nogui"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue