gpg: Add option --exit-on-status-write-error
* src/engine-gpg.c (gpg_new): Add --exit-on-status-write-error if the engine version is latest enough to expect progress output from gpg. -- GnuPG-bug-id: 1415 Signed-off-by: Daiki Ueno <ueno@gnu.org> Changed the version test from the patch to use the newer have_gpg_version. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
d0cf6b1512
commit
dee56820ca
@ -544,6 +544,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 && have_gpg_version (gpg, "2.1.11"))
|
||||
rc = add_arg (gpg, "--exit-on-status-write-error");
|
||||
if (rc)
|
||||
goto leave;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user