There should be no echo here

This commit is contained in:
DL6ER 2017-01-28 21:49:31 +01:00
parent 1bf43b0425
commit 08cddba200
No known key found for this signature in database
GPG key ID: 00135ACBD90B28DD

View file

@ -67,7 +67,6 @@ HandleOther(){
#check validity of domain
validDomain=$(echo "${domain}" | perl -lne 'print if /^(?!.*[^a-z0-9-\.].*)\b((?=[a-z0-9-]{1,63}\.)(xn--)?[a-z0-9]+(-[a-z0-9]+)*\.)*[a-z]{2,63}\b/')
echo $validDomain
if [ -z "${validDomain}" ]; then
echo "::: $1 is not a valid argument or domain name"
else