diff --git a/lgsm/functions/check_steamcmd.sh b/lgsm/functions/check_steamcmd.sh index eb9e256d4..6623a44cd 100644 --- a/lgsm/functions/check_steamcmd.sh +++ b/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 \ No newline at end of file +fn_check_steamcmd_sh