mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
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)))
|
||||
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…
x
Reference in New Issue
Block a user