remove hardcoded DNS in network check
This commit is contained in:
parent
81ceddd299
commit
294a33ee1a
1 changed files with 1 additions and 1 deletions
2
.zshrc
2
.zshrc
|
@ -31,7 +31,7 @@ zplug chriskempson/base16-shell, from:github
|
|||
zplug load
|
||||
base16_gruvbox-dark-hard
|
||||
|
||||
if dig @1.1.1.1 google.com +timeout=1 >/dev/null 2>&1; then;
|
||||
if dig google.com +timeout=1 >/dev/null 2>&1; then;
|
||||
HAS_NETWORK=1
|
||||
else
|
||||
echo "No internet connection detected!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue