Browse Source

exitcode

pull/2959/head
Daniel Gibbs 5 years ago
parent
commit
c571837a6f
  1. 2
      lgsm/functions/core_dl.sh
  2. 3
      lgsm/functions/core_trap.sh

2
lgsm/functions/core_dl.sh

@ -83,7 +83,7 @@ fn_dl_steamcmd(){
core_exit.sh
# Need tp purchase game.
elif [ -n "$(grep "No subscription" "${steamcmdlog}" | tail -1)" ]; then
fn_print_failure_nl "${commandaction} server: ${remotelocation}: Game not owned by any authorised accounts"
fn_print_failure_nl "${commandaction} server: ${remotelocation}: Steam account does not have a license for the required game"
fn_script_log_fatal "${commandaction} server: ${remotelocation}: Game not owned by any authorised accounts"
core_exit.sh
# Two-factor authentication failure

3
lgsm/functions/core_trap.sh

@ -7,6 +7,9 @@
functionselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
fn_exit_trap(){
if [ -z "${exitcode}" ]; then
exitcode=$?
fi
echo -e ""
core_exit.sh
}

Loading…
Cancel
Save