Check both upper and lower arguments

This commit is contained in:
Dan Schaper 2017-05-19 21:32:52 -07:00 committed by GitHub
parent 6a565692a0
commit 1d5c4e3b0b

View file

@ -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