commit 8b54781539a8876fb413cd7552794b7fa6b5c23e
parent f549da36bd009f3a3db17e426f3a588ae69d16dd
Author: Christoph Lohmann <20h@r-36.net>
Date: Fri, 6 Dec 2019 16:44:01 +0100
Do not try to masssend, in case of some empty line.
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/bin/rpmasssend b/bin/rpmasssend
@@ -68,6 +68,8 @@ do
cat "${addresses}" \
| while read -r address;
do
+ [ -z "${address}" ] && continue
+
printf "Sending to: %s\n" "${address}"
{
printf "To: %s\n" "${address}"