|
@@ -161,6 +161,7 @@ done
|
|
|
|
|
|
if [ ! -z $hostnamesFail ] && [ $email = true ];then
|
|
if [ ! -z $hostnamesFail ] && [ $email = true ];then
|
|
echo -en "Enviando informe por email a \$TO..."
|
|
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
|
|
sendEmail
|
|
if [ $? -ne 0 ];then
|
|
if [ $? -ne 0 ];then
|
|
echo -en "WARNING:\tNo ha sido posible enviar email (REVISE CONFIGURACIÓN).\n"
|
|
echo -en "WARNING:\tNo ha sido posible enviar email (REVISE CONFIGURACIÓN).\n"
|