mirror of
https://github.com/YunoHost-Apps/adguardhome_ynh.git
synced 2024-09-03 18:06:23 +02:00
try a fix
This commit is contained in:
parent
bc0a887180
commit
87c31e7082
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ process_ips(){
|
||||||
# check if the so-called IP really is one
|
# check if the so-called IP really is one
|
||||||
if ynh_validate_ip4 --ip_address="$ip" || ynh_validate_ip6 --ip_address="$ip"; then
|
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
|
# don't process if the IP is public and the port 53 closed
|
||||||
if is_public_ip "$ip" && [ "$open_port_53" == "false" ] ; then
|
if [ "$(is_public_ip "$ip")" == 0 ] && [ "$open_port_53" == "false" ] ; then
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
if [ "${after_first_pass:-}" = true ]; then
|
if [ "${after_first_pass:-}" = true ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue