From 62cad058ed98a6e990e4996ce7e07030ab9a1e46 Mon Sep 17 00:00:00 2001 From: borekon Date: Thu, 27 Oct 2022 11:34:55 +0000 Subject: [PATCH] Typo error --- ip2host.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ip2host.sh b/ip2host.sh index 3d0cbf9..9fe2b4d 100755 --- a/ip2host.sh +++ b/ip2host.sh @@ -17,7 +17,7 @@ do # name=$(nslookup $ip| grep "name ="|sed 's/.*=//') # Uncomment following line to use dig (thanks to Charles Duffy) #name=$(dig +short -x $ip)i - if [ -z "$2"] + if [ -z "$2" ] then resolvedIP=$(dig +short +x "$ip") else