From 5bd55be64d33f5ce2562109612cc75b2e1f6ebe6 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 10 Mar 2017 11:05:53 +0100 Subject: unterdruecke Fehlermeldung von gpg bei nicht vorhandenem Schluessel --- sendmailadvanced.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' | \ -- cgit v1.2.3-70-g09d2