about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2023-07-31 21:12:38 +0200
committerLeah Neukirchen <leah@vuxu.org>2023-07-31 21:12:38 +0200
commit59ee2e0ab9f6721ffb6e0b686582d1d121b7a6cf (patch)
tree9766fc3825aa95ab51e7973b643770084b164b2a
parent07d064fc116cf5a72fd47632a0b8bd041df6a870 (diff)
downloadmblaze-59ee2e0ab9f6721ffb6e0b686582d1d121b7a6cf.tar.gz
mblaze-59ee2e0ab9f6721ffb6e0b686582d1d121b7a6cf.tar.xz
mblaze-59ee2e0ab9f6721ffb6e0b686582d1d121b7a6cf.zip
mgpg: use quiet to only print errors
Else it can happen that gpg output is prepended to the message we
want to decode, and recursive decoding fails.
-rwxr-xr-xcontrib/mgpg2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/mgpg b/contrib/mgpg
index 4a46701..4190501 100755
--- a/contrib/mgpg
+++ b/contrib/mgpg
@@ -20,7 +20,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 || exit 0
+	mshow -O "$tmp" "$n" | $GPG --quiet -d 2>&1 || exit 0
 	exit 64
 fi
 exit 63