diff options
Diffstat (limited to 'scd/command.c')
-rw-r--r-- | scd/command.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scd/command.c b/scd/command.c index 4e80d76b4..72ff1326a 100644 --- a/scd/command.c +++ b/scd/command.c @@ -469,8 +469,8 @@ open_card (ctrl_t ctrl, const char *apptype) else if (sw == SW_HOST_CARD_INACTIVE) err = gpg_error (GPG_ERR_CARD_RESET); else - err = gpg_error (GPG_ERR_CARD); - } + err = gpg_error (GPG_ERR_ENODEV); + } else err = select_application (ctrl, slot, apptype, &ctrl->app_ctx); } |