summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsendmailadvanced.in9
1 files changed, 6 insertions, 3 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in
index 8f291a7..218e4a1 100755
--- a/sendmailadvanced.in
+++ b/sendmailadvanced.in
@@ -209,9 +209,12 @@ fi
body_footer_hook "${hookParam}"
done
) | \
- (
- ${encrypt} && gpg -e -a -s -r $(gpgAdressaten) || cat
- )
+ if ${encrypt}
+ then
+ gpg -e -a -s -r $(gpgAdressaten)
+ else
+ cat
+ fi
) | \
(
if [ -z "${datei}" ]