updated updater fix
This commit is contained in:
parent
d9924bfdeb
commit
c889e93ddf
@ -3,7 +3,19 @@
|
||||
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
|
||||
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user