浏览代码

* Versión 0.3

Guzmán Castanedo Villalba 6 年之前
父节点
当前提交
a9b85311d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      check-virtualhosts

+ 1 - 1
check-virtualhosts

@@ -140,7 +140,7 @@ fi
 if [ -z $host ] && [ $email = true ];then
 	host=$(echo "$from" | cut -d '@' -f 2)
 	host=$(dig -t MX "$host" +short | cut -d ' ' -f 2 | sed 's/.$//' | head -1)
-	if [ -z $host];then
+	if [ -z $host ];then
 		echo -en "WARNING(HOST): El envio de correo está desactivado (Compruebe comfiguración).\n"
 		email=false
 	fi