mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-02 21:11:05 +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> (cherry picked from commit 5ecc7a02609dde65096ddb12e0ff8f6bce3b774a)
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…
x
Reference in New Issue
Block a user