aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus/mml2015.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/mml2015.el')
-rw-r--r--lisp/gnus/mml2015.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index 0bc83ad4fb..f8f0a56041 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -827,7 +827,7 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
(let* ((coding-system-for-write 'binary)
(coding-system-for-read 'binary)
(data (shell-command-to-string
- (format "%s --list-options no-show-photos --attribute-fd 2 --list-keys %s > /dev/null"
+ (format "%s --list-options no-show-photos --attribute-fd 3 --list-keys %s 3>&1 >/dev/null 2>&1"
epg-gpg-program key-id))))
(when (> (length data) 0)
(insert (substring data 16))