Fix error

This commit is contained in:
Laine Gholson 2015-11-05 19:39:26 -06:00
parent d9dfe438e5
commit 457fcacf3f

View File

@ -4515,7 +4515,7 @@ determine_rdns() {
local saved_openssl_conf="$OPENSSL_CONF"
OPENSSL_CONF="" # see https://github.com/drwetter/testssl.sh/issues/134
if [[ "$NODEIP" == 192.168.*.* ]] ]]; then
if [[ "$NODEIP" == 192.168.*.* ]]; then
if which avahi-resolve &>/dev/null; then
rDNS=$(avahi-resolve -a $NODEIP 2>/dev/null | awk '{ print $2 }')
elif which dig &>/dev/null; then