mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-16 08:33:24 +02:00
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>
This commit is contained in:
parent
2f02ed75a9
commit
44b02e1beb
@ -256,9 +256,7 @@ check_portable_app (const char *dir)
|
|||||||
char *fname;
|
char *fname;
|
||||||
|
|
||||||
fname = xstrconcat (dir, DIRSEP_S "gpgconf.exe", NULL);
|
fname = xstrconcat (dir, DIRSEP_S "gpgconf.exe", NULL);
|
||||||
if (access (fname, F_OK))
|
if (!access (fname, F_OK))
|
||||||
log_error ("required binary '%s' is not installed\n", fname);
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
strcpy (fname + strlen (fname) - 3, "ctl");
|
strcpy (fname + strlen (fname) - 3, "ctl");
|
||||||
if (!access (fname, F_OK))
|
if (!access (fname, F_OK))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user