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. 7
      lgsm/functions/check_steamcmd.sh

7
lgsm/functions/check_steamcmd.sh

@ -18,17 +18,18 @@ 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
@ -62,4 +63,4 @@ fn_check_steamcmd_sh(){
}
fn_check_steamcmd_user
fn_check_steamcmd_sh
fn_check_steamcmd_sh

Loading…
Cancel
Save