[PATCH gpgme v2 1/3] gpg: Add option --exit-on-status-write-error

Daiki Ueno ueno at gnu.org
Fri Feb 5 09:17:29 CET 2016


* src/engine-gpg.c (gpg_new): Add --exit-on-status-write-error.

GnuPG-bug-id: 1415
Signed-off-by: Daiki Ueno <ueno at gnu.org>
---
 src/engine-gpg.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 9efced2..3226340 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -500,6 +500,8 @@ gpg_new (void **engine, const char *file_name, const char *home_dir)
     rc = add_arg (gpg, "utf8");
   if (!rc)
     rc = add_arg (gpg, "--enable-progress-filter");
+  if (!rc)
+    rc = add_arg (gpg, "--exit-on-status-write-error");
   if (rc)
     goto leave;
 
-- 
2.5.0




More information about the Gnupg-devel mailing list