Explorar el Código

* Arreglar errores

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

+ 1 - 1
check-sites

@@ -175,7 +175,7 @@ for hostname in ${hostnames[@]};do
 done
 
 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
 	if [ $? -ne 0 ];then