summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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