diff --git a/system/arm/bin/update-static-dns b/system/arm/bin/update-static-dns index 4a430c5..c663486 100755 --- a/system/arm/bin/update-static-dns +++ b/system/arm/bin/update-static-dns @@ -10,7 +10,7 @@ for host in $(busybox cat /system/etc/static-dns-hosts.txt | busybox grep -vE '^ if [ -z "$ip_addr" ]; then echo "Can't resolve '$host'." >&2 - exit 1 + continue fi echo "$ip_addr $host" | busybox tee -a /system/etc/hosts diff --git a/system/x86/bin/update-static-dns b/system/x86/bin/update-static-dns index 4a430c5..c663486 100755 --- a/system/x86/bin/update-static-dns +++ b/system/x86/bin/update-static-dns @@ -10,7 +10,7 @@ for host in $(busybox cat /system/etc/static-dns-hosts.txt | busybox grep -vE '^ if [ -z "$ip_addr" ]; then echo "Can't resolve '$host'." >&2 - exit 1 + continue fi echo "$ip_addr $host" | busybox tee -a /system/etc/hosts