diff options
author | Werner Koch <wk@gnupg.org> | 2002-04-10 13:45:11 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2002-04-10 13:45:11 +0200 |
commit | face6377c14ee5492e99f2148c209956aa749dcc (patch) | |
tree | 44c5690fbb35bf49cd8286439c3e0467385b69a9 /scd/card.c | |
parent | * assuan-buffer.c (my_log_prefix): New. Use it for all i/o debug output. (diff) | |
download | gnupg2-face6377c14ee5492e99f2148c209956aa749dcc.tar.xz gnupg2-face6377c14ee5492e99f2148c209956aa749dcc.zip |
* card.c (card_open): Return immediately when no reader is available.
Diffstat (limited to 'scd/card.c')
-rw-r--r-- | scd/card.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scd/card.c b/scd/card.c index 0c8bf7c03..629e2936b 100644 --- a/scd/card.c +++ b/scd/card.c @@ -138,6 +138,7 @@ card_open (CARD *rcard) { log_error ("no card reader available\n"); rc = GNUPG_Card_Error; + goto leave; } card->ctx->error_file = log_get_stream (); if (opt.debug) |