mirror of git://git.gnupg.org/gnupg.git
scd: Don't let the "undefined" app cause a conflict error.
* scd/app.c (check_conflict): Ignore "undefined".
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 5ecc7a0260
)
This commit is contained in:
parent
54c56230e3
commit
0eb8095626
|
@ -121,6 +121,9 @@ check_conflict (app_t app, const char *name)
|
|||
if (!app || !name || (app->apptype && !ascii_strcasecmp (app->apptype, name)))
|
||||
return 0;
|
||||
|
||||
if (app->apptype && !strcmp (app->apptype, "UNDEFINED"))
|
||||
return 0;
|
||||
|
||||
log_info ("application '%s' in use - can't switch\n",
|
||||
app->apptype? app->apptype : "<null>");
|
||||
|
||||
|
|
Loading…
Reference in New Issue