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"