From fa246d0b36b348ae70a784b470805378c7f26146 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sun, 31 Dec 2023 03:11:29 +0100 Subject: [PATCH] idk sigh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 9fd4922..b66497b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -79,7 +79,7 @@ process_ips(){ # for each IP for ip in $ips; do # check if the so-called IP really is one - if [[ "$(ynh_validate_ip4 --ip_address="$ip")" == 0 || "$(ynh_validate_ip6 --ip_address="$ip")" == 0 ]]; then + if [[ $(ynh_validate_ip4 --ip_address="$ip") == 0 || $(ynh_validate_ip6 --ip_address="$ip") == 0 ]]; 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 (do nothing)