summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-10-15 09:34:30 +0200
committerErich Eckner <git@eckner.net>2019-10-15 09:34:30 +0200
commit56c441d127e859ed927c014609a24936d4a291f3 (patch)
treee96eeec7bbb19b58d6b1570b3afb73323b387cfd
parent4302636eabaa39f1f31317986dd18376a220e71d (diff)
downloadsendmailadvanced-56c441d127e859ed927c014609a24936d4a291f3.tar.xz
sendmailadvanced.in: abort when gpg fails
-rwxr-xr-xsendmailadvanced.in3
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=""