From bab99dd7962730d9e27b37d7310c962f04c7840d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 9 Sep 2020 21:03:25 +0100 Subject: [PATCH] and --- lgsm/functions/check_ip.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/check_ip.sh b/lgsm/functions/check_ip.sh index 183ce1755..4377a27d9 100644 --- a/lgsm/functions/check_ip.sh +++ b/lgsm/functions/check_ip.sh @@ -21,7 +21,7 @@ getipwc=$(${ipcommand} -o -4 addr | awk '{print $4}' | grep -oe '\([0-9]\{1,3\}\ # Check if server has multiple IP addresses # If the IP variable has been set by user. -if [ -n "${ip}" ]||[ "${ip}" != "0.0.0.0" ]; then +if [ -n "${ip}" ]&&[ "${ip}" != "0.0.0.0" ]; then queryips=( "${ip}" ) # If game server IP is set IP address in game config. elif [ -n "${configip}" ]; then