Pārlūkot izejas kodu

Fix mail subject

Emmanuel Bouthenot 1 gadu atpakaļ
vecāks
revīzija
3688f4ad2f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      autopostgresqlbackup

+ 1 - 1
autopostgresqlbackup

@@ -628,7 +628,7 @@ if [ "${DEBUG}" = "no" ] && grep -q '^err|' "${LOG_FILE}" ; then
             fi
         done
         printf "\nFor more information, try to run %s in debug mode, see \`%s -h\`\n" "${NAME}" "$(basename "$0")"
-    ) | mail -s "${NAME} - log" "${MAILADDR}"
+    ) | mail -s "${NAME} issues on $(hostname --fqdn)" "${MAILADDR}"
 fi
 # }}}