Guzmán Castanedo Villalba 6 anni fa
parent
commit
fa8e5b179b
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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"