소스 검색

updated if

Daniel Gibbs 7 년 전
부모
커밋
e9a4ff4853
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/check_ip.sh

+ 1 - 1
lgsm/functions/check_ip.sh

@@ -79,7 +79,7 @@ if [ "${gamename}" != "TeamSpeak 3" ]&&[ "${gamename}" != "Mumble" ]&&[ "${travi
 			fn_script_log_fatal "IP address not set in game config."
 			fn_script_log_fatal "Specify the IP you want to bind within: ${servercfgfullpath}."
 			fn_script_log_fatal "https://linuxgsm.com/network-interfaces\n"
-			if [ "${command_arg}" != "details" ]&&[ "${command_arg}" != "dt" ] ; then
+			if [ "${function_selfname}" != "command_details.sh" ];then
 			    core_exit.sh
 			fi
 		else