Explorar el Código

fixed bug causing arma3server to not load

Daniel Gibbs hace 9 años
padre
commit
ea3273aa54
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      linuxgsm.sh

+ 1 - 1
linuxgsm.sh

@@ -210,7 +210,7 @@ fn_install_menu() {
 # Gets server info from serverlist.csv and puts in to array
 # Gets server info from serverlist.csv and puts in to array
 fn_server_info(){
 fn_server_info(){
 	IFS=","
 	IFS=","
-	server_info_array=($(grep -w "${userinput}" "${serverlist}"))
+	server_info_array=($(grep -aw "${userinput}" "${serverlist}"))
 	shortname="${server_info_array[0]}" # csgo
 	shortname="${server_info_array[0]}" # csgo
 	gameservername="${server_info_array[1]}" # csgoserver
 	gameservername="${server_info_array[1]}" # csgoserver
 	gamename="${server_info_array[2]}" # Counter Strike: Global Offensive
 	gamename="${server_info_array[2]}" # Counter Strike: Global Offensive