Browse Source

Merge pull request #1483 from GameServerManagers/hotfix/ultimatebyte-20170619

Hotfix/ultimatebyte 20170619 (syntax errors)
pull/1489/head
UltimateByte 8 years ago
committed by GitHub
parent
commit
8c221fa2ca
  1. 5
      lgsm/functions/check_steamcmd.sh

5
lgsm/functions/check_steamcmd.sh

@ -18,18 +18,19 @@ fn_install_steamcmd(){
fn_check_steamcmd_user(){
# Checks if steamuser is setup.
if [ "${steamuser}" == "username" ]; then
if [ "${legacymode}" == "1" ] then
if [ "${legacymode}" == "1" ]; then
fn_print_fail_nl "Steam login not set. Update steamuser in ${selfname}"
else
fn_print_fail_nl "Steam login not set. Update steamuser in ${configdirserver}"
fi
echo " * Change steamuser=\"username\" to a valid steam login."
if [ -d "${lgsmlogdir}" ]; then
if [ "${legacymode}" == "1" ] then
if [ "${legacymode}" == "1" ]; then
fn_script_log_fatal "Steam login not set. Update steamuser in ${selfname}"
else
fn_script_log_fatal "Steam login not set. Update steamuser in ${configdirserver}"
fi
fi
core_exit.sh
fi
# Anonymous user is set if steamuser is missing

Loading…
Cancel
Save