From 29c6b0a04b6b68310d84233a034b7c0c400601f3 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 31 Dec 2023 01:27:17 +0100 Subject: [PATCH] use no-op command --- scripts/_common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index cac75a2..4596ed0 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -79,8 +79,8 @@ process_ips(){ if [ "$(ynh_validate_ip4 --ip_address="$ip")" ] || [ "$(ynh_validate_ip6 --ip_address="$ip")" ] ; then # don't process if the IP is public and the port 53 closed if [ "$(is_public_ip "$ip")" == 0 ] && [ "$open_port_53" == "false" ] ; then - # don't add this IP - processed_ips+="" + # don't add this IP (do nothing) + : else processed_ips+="$ip " fi