From b2a556468534692c887d55490810f01147db2de7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6nig?= Date: Mon, 16 Dec 2024 13:06:25 +0100 Subject: [PATCH] FTL allows non-numieric port notation - we need to strip this MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Christian König --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index bff59bb8..20051b83 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -2498,8 +2498,8 @@ main() { fi if [[ "${useUpdateVars}" == false ]]; then - # Get the Web interface port, return only the first port - WEBPORT=$(getFTLConfigValue webserver.port|cut -d, -f1) + # Get the Web interface port, return only the first port and strip all non-numeric characters + WEBPORT=$(getFTLConfigValue webserver.port|cut -d, -f1 | tr -cd '0-9') # Display the completion dialog displayFinalMessage "${pw}"