about summary refs log tree commit diff
path: root/contrib
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2018-09-03 16:01:45 +0200
committerLeah Neukirchen <leah@vuxu.org>2018-09-03 16:01:45 +0200
commitc818ab86459c686e03144a45b96d6bc8e77750f4 (patch)
tree9a31d085c1156850b0f2ab28e9bca2581a820150 /contrib
parent8274295d908556862ef434ace6f6d0efe333759a (diff)
downloadmblaze-c818ab86459c686e03144a45b96d6bc8e77750f4.tar.gz
mblaze-c818ab86459c686e03144a45b96d6bc8e77750f4.tar.xz
mblaze-c818ab86459c686e03144a45b96d6bc8e77750f4.zip
contrib/mgpg: ensure gpg errors are shown
Diffstat (limited to 'contrib')
-rwxr-xr-xcontrib/mgpg2
1 files changed, 1 insertions, 1 deletions
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