Mercurial > index.cgi > dotfiles
changeset 270:6dc992e4fc4a
Fix that one too
author | Steve Huston <huston@srhuston.net> |
---|---|
date | Thu, 25 Apr 2024 13:21:10 -0400 |
parents | ae940a45bfff |
children | e7e331a51f2c |
files | .ssh/athome |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/.ssh/athome Thu Apr 25 11:30:48 2024 -0400 +++ b/.ssh/athome Thu Apr 25 13:21:10 2024 -0400 @@ -22,7 +22,7 @@ if which -s getent awk > /dev/null 2>&1 ; then HOMEIP=`getent ahostsv4 $HOMEDNS | awk '{print $1; exit}'` -elif which -s dig ; then +elif which -s dig > /dev/null 2>&1 ; then HOMEIP=`dig +short $HOMEDNS` else exit $off