]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
pullup:
authorAndreas Gustafsson <source@isc.org>
Mon, 7 Aug 2000 16:41:38 +0000 (16:41 +0000)
committerAndreas Gustafsson <source@isc.org>
Mon, 7 Aug 2000 16:41:38 +0000 (16:41 +0000)
Do not print "stop typing" if the user interrupted the entropy gathering.

bin/dnssec/dnssectool.c

index fd0519951882b069d35b912803ef9b6ccf09fca2..0249c3da39c4e435c5bee1bffca825d7c34880e6 100644 (file)
@@ -15,7 +15,7 @@
  * SOFTWARE.
  */
 
-/* $Id: dnssectool.c,v 1.12 2000/06/22 21:49:05 tale Exp $ */
+/* $Id: dnssectool.c,v 1.12.2.1 2000/08/07 16:41:38 gson 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);
 }