mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-22 10:19:57 +01:00
scd: Fix DEVINFO with no --watch.
* scd/app.c (app_send_devinfo): Fix for outputing once. * scd/command.c (hlp_devinfo): Fix comment. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
665b59a066
commit
c6dd9ff929
@ -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 ();
|
||||
|
@ -2312,7 +2312,7 @@ static const char hlp_devinfo[] =
|
||||
"\n"
|
||||
"Return information about devices. If the option --watch is given,\n"
|
||||
"it keeps reporting status change until it detects no device is\n"
|
||||
"available."
|
||||
"available.\n"
|
||||
"The information is returned as a status line using the format:\n"
|
||||
"\n"
|
||||
" DEVICE <card_type> <serialno> <app_type>\n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user