diff --git a/dns-generate-for-device.sh b/dns-generate-for-device.sh old mode 100644 new mode 100755 index 85c8f61..a96d46f --- a/dns-generate-for-device.sh +++ b/dns-generate-for-device.sh @@ -4,7 +4,7 @@ # Retrieve an IPv6 interface address and generate a generic # DNS zone file -if [ #$ -ne 3 ]; then +if [ $# -ne 3 ]; then echo "$0 address interface hostname" exit 1 fi