mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
fix
This commit is contained in:
parent
2423ba05c0
commit
bc0a887180
1 changed files with 2 additions and 2 deletions
|
@ -81,10 +81,10 @@ process_ips(){
|
||||||
if is_public_ip "$ip" && [ "$open_port_53" == "false" ] ; then
|
if is_public_ip "$ip" && [ "$open_port_53" == "false" ] ; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
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")
|
processed_ips+=$(printf "$processed_ips\n%s" "/n")
|
||||||
fi
|
fi
|
||||||
|
after_first_pass=true
|
||||||
if [[ "${is_install:-}" = true ]]; then
|
if [[ "${is_install:-}" = true ]]; then
|
||||||
# to get a dash before each IP
|
# to get a dash before each IP
|
||||||
processed_ips+=$(printf "$processed_ips\n%s" "- $ip")
|
processed_ips+=$(printf "$processed_ips\n%s" "- $ip")
|
||||||
|
|
Loading…
Add table
Reference in a new issue