mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-26 03:11:56 -05:00
Don't print "stop typing" if the user interrupted the entropy gathering.
This commit is contained in:
parent
153d59973f
commit
abb04a9d70
1 changed files with 3 additions and 2 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: dnssectool.c,v 1.13 2000/07/27 09:36:34 tale Exp $ */
|
||||
/* $Id: dnssectool.c,v 1.14 2000/07/31 20:38:27 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -201,7 +201,8 @@ kbdstop(isc_entropysource_t *source, void *arg) {
|
|||
|
||||
UNUSED(source);
|
||||
|
||||
fprintf(stderr, "stop typing.\r\n");
|
||||
if (!isc_keyboard_canceled(kbd))
|
||||
fprintf(stderr, "stop typing.\r\n");
|
||||
(void)isc_keyboard_close(kbd, 3);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue