diff options
author | Erich Eckner <git@eckner.net> | 2019-10-15 09:34:30 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-15 09:34:30 +0200 |
commit | 56c441d127e859ed927c014609a24936d4a291f3 (patch) | |
tree | e96eeec7bbb19b58d6b1570b3afb73323b387cfd | |
parent | 4302636eabaa39f1f31317986dd18376a220e71d (diff) | |
download | sendmailadvanced-56c441d127e859ed927c014609a24936d4a291f3.tar.xz |
sendmailadvanced.in: abort when gpg fails
-rwxr-xr-x | sendmailadvanced.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sendmailadvanced.in b/sendmailadvanced.in index 9827d74..62ea21e 100755 --- a/sendmailadvanced.in +++ b/sendmailadvanced.in @@ -264,7 +264,8 @@ fi else cat fi - ) + ) \ + || exit $? if ${encrypt}; then boundary="" |