浏览代码

Fix mail subject

Emmanuel Bouthenot 1 年之前
父节点
当前提交
3688f4ad2f
共有 1 个文件被更改,包括 1 次插入1 次删除
  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
 # }}}