From c818ab86459c686e03144a45b96d6bc8e77750f4 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Mon, 3 Sep 2018 16:01:45 +0200 Subject: contrib/mgpg: ensure gpg errors are shown --- contrib/mgpg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/mgpg b/contrib/mgpg index 38eec99..26c7e5e 100755 --- a/contrib/mgpg +++ b/contrib/mgpg @@ -14,7 +14,7 @@ n=$(mshow -t "$tmp" | awk -F: ' /: application\/octet-stream/ {if (supported) print $1}') if [ "$n" ]; then - mshow -O "$tmp" "$n" | gpg -d 2>&1 + mshow -O "$tmp" "$n" | gpg -d 2>&1 || exit 0 exit 64 fi exit 63 -- cgit 1.4.1