aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/app.c')
-rw-r--r--scd/app.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app.c b/scd/app.c
index 3961bdf6c..aeb773a67 100644
--- a/scd/app.c
+++ b/scd/app.c
@@ -447,7 +447,7 @@ app_send_devinfo (ctrl_t ctrl, int keep_looping)
}
send_status_direct (ctrl, "DEVINFO_END", "");
- if (no_device && !keep_looping)
+ if (keep_looping == 0)
break;
card_list_wait ();