diff options
author | Erich Eckner <git@eckner.net> | 2017-03-10 10:24:57 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-03-10 10:24:57 +0100 |
commit | 21127ca9e27e210e17567784cae5084f4a4b5e38 (patch) | |
tree | a3ceadf1f968c16b8c6af50c2ccc5c25fad357e1 | |
parent | b4e69669e0980836b9e85203b36047c14e296e92 (diff) | |
download | sendmailadvanced-21127ca9e27e210e17567784cae5084f4a4b5e38.tar.xz |
style improvement
-rwxr-xr-x | sendmailadvanced.in | 9 |
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}" ] |