summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-03-10 10:24:57 +0100
committerErich Eckner <git@eckner.net>2017-03-10 10:24:57 +0100
commit21127ca9e27e210e17567784cae5084f4a4b5e38 (patch)
treea3ceadf1f968c16b8c6af50c2ccc5c25fad357e1
parentb4e69669e0980836b9e85203b36047c14e296e92 (diff)
downloadsendmailadvanced-21127ca9e27e210e17567784cae5084f4a4b5e38.tar.xz
style improvement
-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}" ]