From 56c441d127e859ed927c014609a24936d4a291f3 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 15 Oct 2019 09:34:30 +0200 Subject: sendmailadvanced.in: abort when gpg fails --- sendmailadvanced.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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="" -- cgit v1.2.3-70-g09d2