fixed statement

This commit is contained in:
Fez Vrasta 2015-06-27 20:26:15 +02:00
parent ee753f4897
commit dcbea1dfd6

View File

@ -58,7 +58,7 @@ checkConfig() {
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tYour SteamCMD exec could not be found."
fi
# steamcmd_user
if [ ! getent passwd $steamcmd_user > /dev/null 2>&1 ] ; then
if ! getent passwd $steamcmd_user > /dev/null 2>&1 ; then
echo -e "[" "$RED" "ERROR" "$NORMAL" "]" "\tYour SteamCMD user is not valid."
fi