From dadbff23ae52a51dd6133161843492e1d0a55342 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 13 May 2023 21:36:20 +0100 Subject: [PATCH] fix java --- 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 be8813891..8f958e3f1 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -166,7 +166,7 @@ fn_info_game_java_properties() { if [ -n "${3}" ]; then servercfgfullpath="${3}" fi - eval "${1}=\"$(sed -n '/^\<'"${2}"'\>/ { s/.*= *"\?\([^"]*\)"\?/\1/;s/;$//p;q }' "${servercfgfullpath}" | tr -d '\r')\"" + eval "${1}=\"$(sed -n '/^\<'"${2}"'\>/ { s/.*= *\"\?\([^"]*\)\"\?/\1/p;q }' "${servercfgfullpath}" | tr -d '\r')\"" configtype="java" }