Procházet zdrojové kódy

fixed bug causing arma3server to not load

Daniel Gibbs před 9 roky
rodič
revize
ea3273aa54
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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