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>
This commit is contained in:
parent
d7a54ca461
commit
5ecc7a0260
|
@ -121,6 +121,9 @@ check_conflict (app_t app, const char *name)
|
||||||
if (!app || !name || (app->apptype && !ascii_strcasecmp (app->apptype, name)))
|
if (!app || !name || (app->apptype && !ascii_strcasecmp (app->apptype, name)))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
|
if (app->apptype && !strcmp (app->apptype, "UNDEFINED"))
|
||||||
|
return 0;
|
||||||
|
|
||||||
log_info ("application '%s' in use - can't switch\n",
|
log_info ("application '%s' in use - can't switch\n",
|
||||||
app->apptype? app->apptype : "<null>");
|
app->apptype? app->apptype : "<null>");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue