summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-02-02 14:43:01 +0100
committerErich Eckner <git@eckner.net>2021-02-02 14:43:01 +0100
commitbc6c0701fc9e1d0fe3885545eec1a7435cec58dc (patch)
tree11e519660d4737ecf638a5c842626306d04b10ed
parent032c030109718483ccfe1643bcf93aa1b57d85c1 (diff)
downloadsendmailadvanced-bc6c0701fc9e1d0fe3885545eec1a7435cec58dc.tar.xz
sendmailadvanced.in: add BUG hint
-rwxr-xr-xsendmailadvanced.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index 5bb7e2a..f1ca4b2 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -99,6 +99,7 @@ else
done
fi
+# BUG: gpg_recipients should not be relevant, if non-default keys are being found
[ -z "${gpg_recipients[*]}" ] && encrypt=false
for gpg_recipient in "${gpg_recipients[@]}"; do
gpg --list-keys "${gpg_recipient}" &> /dev/null || encrypt=false