From db3ee18a97e0c3779be7c39a07089d0a0d437b5b Mon Sep 17 00:00:00 2001 From: Uchiha Kakashi <45286352+licy183@users.noreply.github.com> Date: Sat, 5 Feb 2022 14:45:21 +0800 Subject: [PATCH] Update: update-static-dns (#17) --- system/arm/bin/update-static-dns | 2 +- system/x86/bin/update-static-dns | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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