mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
gpg: Avoid failure exit when scdaemon is disabled but not needed.
* g10/call-agent.c (warn_version_mismatch): Use log_info if error is "not supported". -- This fix may make the fix for GnuPG-bug-id: 3192 even more robust. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
e051e39615
commit
17e5afd80f
@ -194,8 +194,10 @@ warn_version_mismatch (assuan_context_t ctx, const char *servername, int mode)
|
||||
|
||||
err = get_assuan_server_version (ctx, mode, &serverversion);
|
||||
if (err)
|
||||
log_error (_("error getting version from '%s': %s\n"),
|
||||
servername, gpg_strerror (err));
|
||||
log_log (gpg_err_code (err) == GPG_ERR_NOT_SUPPORTED?
|
||||
GPGRT_LOG_INFO : GPGRT_LOG_ERROR,
|
||||
_("error getting version from '%s': %s\n"),
|
||||
servername, gpg_strerror (err));
|
||||
else if (compare_version_strings (serverversion, myversion) < 0)
|
||||
{
|
||||
char *warn;
|
||||
|
Loading…
x
Reference in New Issue
Block a user