From 3b948a4d3eef1d02751c3b298ea1d29db7908f78 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 13 May 2023 17:06:05 +0100 Subject: [PATCH] adjust quakec --- lgsm/modules/info_game.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index 9ec6102f8..ff3ddfef4 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -75,7 +75,7 @@ fn_info_game_quakec() { if [ -n "${3}" ]; then servercfgfullpath="${3}" fi - eval "${1}=\"$(sed -n '/^[[:space:]]*\<'"${2}"'\>/ { s/.* *\"\?\([^"]*\)\"\?/\1/p;q }' "${servercfgfullpath}" | tr -d '\r')\"" + eval "${1}=\"$(sed -n '/[[:space:]]\<'"${2}"'\>/ { s/.* *\"\?\([^"]*\)\"\?/\1/p;q }' "${servercfgfullpath}" | tr -d '\r')\"" configtype="quakec" }