aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/command.c b/scd/command.c
index 8dd050ee4..769113fba 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -290,6 +290,8 @@ cmd_serialno (assuan_context_t ctx, char *line)
else
demand = NULL;
+ line = skip_options (line);
+
/* Clear the remove flag so that the open_card is able to reread it. */
if (ctrl->server_local->card_removed)
ctrl->server_local->card_removed = 0;