From 5ecc7a02609dde65096ddb12e0ff8f6bce3b774a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 21 Feb 2019 08:40:59 +0100 Subject: [PATCH] scd: Don't let the "undefined" app cause a conflict error. * scd/app.c (check_conflict): Ignore "undefined". Signed-off-by: Werner Koch --- scd/app.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scd/app.c b/scd/app.c index 2e2729e32..8d4d1c032 100644 --- a/scd/app.c +++ b/scd/app.c @@ -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 : "");