diff options
author | Werner Koch <wk@gnupg.org> | 2016-02-16 16:07:44 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-02-16 16:07:44 +0100 |
commit | 44b02e1beb4f38f26551d932827d5317fddd27c2 (patch) | |
tree | eb2e68774e62dce22619324e880794cd29f2e88f /common/homedir.c | |
parent | gpg: Make ASCII armor decoding more robust to encoding errors. (diff) | |
download | gnupg2-44b02e1beb4f38f26551d932827d5317fddd27c2.tar.xz gnupg2-44b02e1beb4f38f26551d932827d5317fddd27c2.zip |
w32: Do not error out if gpgconf is not installed.
* common/homedir.c (check_portable_app): Remove error message.
--
It is sometimes useful to install just gpgv and no other parts. Our
test for a portable application returned an error if gpgconf is not
installed. That error is not required but was merely a debug aid.
Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'common/homedir.c')
-rw-r--r-- | common/homedir.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/homedir.c b/common/homedir.c index 391869327..e0a88fa17 100644 --- a/common/homedir.c +++ b/common/homedir.c @@ -256,9 +256,7 @@ check_portable_app (const char *dir) char *fname; fname = xstrconcat (dir, DIRSEP_S "gpgconf.exe", NULL); - if (access (fname, F_OK)) - log_error ("required binary '%s' is not installed\n", fname); - else + if (!access (fname, F_OK)) { strcpy (fname + strlen (fname) - 3, "ctl"); if (!access (fname, F_OK)) |