Explorar el Código

* Versión 0.4

Guzmán Castanedo Villalba hace 5 años
padre
commit
fa8e5b179b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      check-virtualhosts

+ 1 - 0
check-virtualhosts

@@ -161,6 +161,7 @@ done
 
 if [ ! -z $hostnamesFail ] && [ $email = true ];then
 	echo -en "Enviando informe por email a \$TO..."
+	message="Envío automático de "$(basename $0)".\nEl sistema presenta Virtual Hosts NO DISPONIBLES.\n""$hostnamesFail""\nCOMPRUEBE QUE EL SERVIDOR.\n"
 	sendEmail
 	if [ $? -ne 0 ];then
 		echo -en "WARNING:\tNo ha sido posible enviar email (REVISE CONFIGURACIÓN).\n"