From 59b9c9518c7e1b6a89bff24eb156a3fa486e0609 Mon Sep 17 00:00:00 2001 From: Downtown Allday Date: Mon, 2 Sep 2024 08:36:01 -0400 Subject: [PATCH] fix variable --- 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