Update get-wanip.sh

This commit is contained in:
2023-01-01 13:55:06 -06:00
parent 7c33de0270
commit a9c387b695

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env bash
wanip="$(dig +short myip.opendns.com @resolver1.opendns.com)" >/dev/null 2>&1
if [ "${wanip}" == "" ]; then