Browse Source

* Arreglar errores

Guzmán Castanedo Villalba 2 years ago
parent
commit
eebd9d3e13
1 changed files with 1 additions and 1 deletions
  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