From 2201a9d57ad221bbecb68b4e25c5ad4232ac2036 Mon Sep 17 00:00:00 2001 From: "Darrick J. Wong" Date: Thu, 11 Jan 2024 18:07:05 -0800 Subject: [PATCH] xfs_scrub_fail: add content type header to failure emails Add content type and encoding metadata so that these emails display correctly. Signed-off-by: Darrick J. Wong Reviewed-by: Christoph Hellwig --- scrub/xfs_scrub_fail.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scrub/xfs_scrub_fail.in b/scrub/xfs_scrub_fail.in index e12803066..ce341ae97 100755 --- a/scrub/xfs_scrub_fail.in +++ b/scrub/xfs_scrub_fail.in @@ -27,6 +27,8 @@ scrub_svc="$(systemd-escape --template "@scrub_svcname@" --path "${mntpoint}")" To: $1 From: Subject: xfs_scrub failure on ${mntpoint} +Content-Transfer-Encoding: 8bit +Content-Type: text/plain; charset=UTF-8 So sorry, the automatic xfs_scrub of ${mntpoint} on ${hostname} failed. -- 2.47.3