diff --git a/scripts/nym-node-setup/network-tunnel-manager.sh b/scripts/nym-node-setup/network-tunnel-manager.sh index c5f6bbbf86..3a464dd9fa 100644 --- a/scripts/nym-node-setup/network-tunnel-manager.sh +++ b/scripts/nym-node-setup/network-tunnel-manager.sh @@ -516,10 +516,10 @@ add_port_rules() { exit_policy_install_deps() { install_iptables_persistent - for cmd in iptables ip6tables ip grep sed awk wget curl; do - if ! command -v "$cmd" >/dev/null 2>&1; then - info "installing dependency: $cmd" - apt-get install -y "$cmd" + for item in iptables ip6tables ip grep sed awk wget curl; do + if ! command -v "$item" >/dev/null 2>&1; then + info "installing dependency: $item" + apt-get install -y "$item" fi done }