commit 64daba7be22614e5b71bcf50fdd2d05f1dcc608c
parent 394c4788aa1790aa3e8c5eb4ba93fb87b95a7790
Author: Christoph Lohmann <20h@r-36.net>
Date: Thu, 16 Jun 2022 19:27:50 +0200
Do not report error in case title is empty.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sfeed_sendmail b/sfeed_sendmail
@@ -57,7 +57,7 @@ do
printf "Date: %s\r\n" "${timestamp}"
if [ -z "${title}" ];
then
- printf "Subject: %s\r\n" "$(rputil -e "${title}")"
+ printf "Subject: %s\r\n" "$(rputil -e "${title}" 2>/dev/null)"
fi
printf "Content-Type: text/plain; charset=\"UTF-8\"\r\n"
if [ -n "${link}" ];