updated updater fix

This commit is contained in:
naturallaw77 2023-12-02 12:48:53 -08:00
parent d9924bfdeb
commit c889e93ddf

View File

@ -3,7 +3,19 @@
set -o nounset set -o nounset
ID=$(dig @resolver4.opendns.com myip.opendns.com +short -4 || dig -t aaaa +short myip.opendns.com @resolver1.opendns.com) ID=$(
if dig @resolver4.opendns.com myip.opendns.com +short -4; then
exit 1
else
dig -t aaaa +short myip.opendns.com @resolver1.opendns.com
fi
)