Fixed if statement in options

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

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"