Fixed if statement in options

This commit is contained in:
Christophe Vandekerchove 2016-03-27 18:55:08 +02:00
parent d99ff47bbc
commit fd2f656e57

View File

@ -21,7 +21,7 @@ else
fi
# Checking options
if [ "$FACTORIO_DISSALOW_COMMANDS" -eq "false" ]; then
if [ "$FACTORIO_DISSALOW_COMMANDS" == false ]; then
disallow_commands=""
else
disallow_commands="--disallow-commands"