From ca123515aad102327701b18a7d65d180f800b815 Mon Sep 17 00:00:00 2001 From: Downtown Allday Date: Mon, 2 Sep 2024 21:30:01 -0400 Subject: [PATCH] fix variable (#2439) --- setup/system.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/system.sh b/setup/system.sh index b8d65608..7467a72c 100755 --- a/setup/system.sh +++ b/setup/system.sh @@ -272,7 +272,7 @@ if [ -z "${DISABLE_FIREWALL:-}" ]; then # too. #NODOC SSH_PORT=$(sshd -T 2>/dev/null | grep "^port " | sed "s/port //" | tr '\n' ' ') #NODOC if [ -n "$SSH_PORT" ]; then - for $port in $SSH_PORT; do + for port in $SSH_PORT; do if [ "$port" != "22" ]; then echo "Opening alternate SSH port $port." #NODOC ufw_limit "$port" #NODOC