Browse Source

Merge pull request #1948 from GameServerManagers/feature/ultimatebyte-1385

Do not exit details if IP is not set
pull/1987/head
Daniel Gibbs 7 years ago
committed by GitHub
parent
commit
ce813f3445
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      lgsm/functions/check_ip.sh

9
lgsm/functions/check_ip.sh

@ -53,8 +53,13 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
echo -en "\n"
echo -en "https://linuxgsm.com/network-interfaces\n"
echo -en ""
fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
core_exit.sh
# Do not exit for details and postdetails commands
if [ "${commandaction}" != "Details" ]&&[ "${commandaction}" != "Postdetails" ]; then
fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
core_exit.sh
else
ip="NOT SET"
fi
# Single interface
elif [ "${ipsetinconfig}" == "1" ]; then
fn_print_fail "Check IP: IP address not set in game config."

Loading…
Cancel
Save