From 21127ca9e27e210e17567784cae5084f4a4b5e38 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 10 Mar 2017 10:24:57 +0100 Subject: style improvement --- sendmailadvanced.in | 9 ++++++--- 1 file 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}" ] -- cgit v1.2.3-70-g09d2