From 7f5e567068ad961e3983f956d723202eb29a8eda Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20M=C3=B6lle?= Date: Wed, 19 Apr 2023 19:37:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Eauthorize-server.sh=E2=80=9C=20=C3=A4n?= =?UTF-8?q?dern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- authorize-server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authorize-server.sh b/authorize-server.sh index 567ee3a..93d7e9b 100644 --- a/authorize-server.sh +++ b/authorize-server.sh @@ -2,7 +2,7 @@ # Read the server list from the specified file SERVER_LIST_FILE="servers.conf" -SERVER_LIST=() + while IFS= read -r SERVER || [ -n "$SERVER" ]; do SERVER_LIST+=("$SERVER") done < "$SERVER_LIST_FILE"