From: Darrick J. Wong Date: Fri, 12 Jan 2024 02:07:05 +0000 (-0800) Subject: xfs_scrub_fail: add content type header to failure emails X-Git-Tag: v6.6.0~2^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2201a9d57ad221bbecb68b4e25c5ad4232ac2036;p=thirdparty%2Fxfsprogs-dev.git 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 --- 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.