1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/adguardhome_ynh.git synced 2024-09-03 18:06:23 +02:00
This commit is contained in:
OniriCorpe 2023-12-28 08:17:23 +01:00
parent 2423ba05c0
commit bc0a887180

View file

@ -81,10 +81,10 @@ process_ips(){
if is_public_ip "$ip" && [ "$open_port_53" == "false" ] ; then
exit 1
else
after_first_pass=true
if [ $after_first_pass = true ]; then
if [ "${after_first_pass:-}" = true ]; then
processed_ips+=$(printf "$processed_ips\n%s" "/n")
fi
after_first_pass=true
if [[ "${is_install:-}" = true ]]; then
# to get a dash before each IP
processed_ips+=$(printf "$processed_ips\n%s" "- $ip")