Explorar o código

fixed bug causing arma3server to not load

Daniel Gibbs %!s(int64=9) %!d(string=hai) anos
pai
achega
ea3273aa54
Modificáronse 1 ficheiros con 1 adicións e 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
 fn_server_info(){
 	IFS=","
-	server_info_array=($(grep -w "${userinput}" "${serverlist}"))
+	server_info_array=($(grep -aw "${userinput}" "${serverlist}"))
 	shortname="${server_info_array[0]}" # csgo
 	gameservername="${server_info_array[1]}" # csgoserver
 	gamename="${server_info_array[2]}" # Counter Strike: Global Offensive