summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-10 11:05:53 +0100
committerErich Eckner <git@eckner.net>2017-03-10 11:05:53 +0100
commit5bd55be64d33f5ce2562109612cc75b2e1f6ebe6 (patch)
tree714a6626c43c57a8015678c0ca0c4813ca6b9ce7
parent9feeb85e608c894f10be988e1d38a2f430397df4 (diff)
downloadsendmailadvanced-5bd55be64d33f5ce2562109612cc75b2e1f6ebe6.tar.xz
unterdruecke Fehlermeldung von gpg bei nicht vorhandenem Schluessel
-rwxr-xr-xsendmailadvanced.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index 2bcc3ba..db638fa 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -50,7 +50,7 @@ gpgAdressaten() {
do
if \
(
- gpg --with-colons --list-public-keys "${adressat}" | \
+ gpg --with-colons --list-public-keys "${adressat}" 2> /dev/null | \
grep '^uid:[mfuw]:' | \
cut -d: -f10 | \
tr '<>' '\n' | \