Fix title printing. - sfeed_sendmail - sfeed to sendmail command
(HTM) git clone git://r-36.net/sfeed_sendmail
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 70fdf6f6f7ca681e59b50921e4ce525a676f016d
(DIR) parent bb0ad95fd8e3245e88a9ddfe0f1438034713fa4f
(HTM) Author: Christoph Lohmann <20h@r-36.net>
Date: Sun, 7 Sep 2025 06:00:35 +0200
Fix title printing.
Diffstat:
M sfeed_sendmail | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/sfeed_sendmail b/sfeed_sendmail
@@ -56,7 +56,7 @@ do
printf "From: %s\r\n" "${fromaddr}"
printf "To: %s\r\n" "${toaddr}"
printf "Date: %s\r\n" "${timestamp}"
- if [ -z "${title}" ];
+ if [ -n "${title}" ];
then
printf "Subject: %s\r\n" "$(rputil -e "${title}" 2>/dev/null)"
fi