]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
don't print empty lines until we can figure out
authorAndreas Gustafsson <source@isc.org>
Fri, 3 Aug 2001 23:44:49 +0000 (23:44 +0000)
committerAndreas Gustafsson <source@isc.org>
Fri, 3 Aug 2001 23:44:49 +0000 (23:44 +0000)
how to print them only when actually using keyboard
entropy.  The existing code was clearly wrong, as it used
an enumerated value as a boolean

bin/rndc/rndc-confgen.c

index 5c27bf19f32fe8186b4f7d1ef406d5a526b4169d..e33e915ff8fe4e934a49b358825e5352bc102b57 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: rndc-confgen.c,v 1.5 2001/08/03 22:33:02 gson Exp $ */
+/* $Id: rndc-confgen.c,v 1.6 2001/08/03 23:44:49 gson Exp $ */
 
 #include <config.h>
 
@@ -270,13 +270,6 @@ main(int argc, char **argv) {
        isc_entropy_detach(&ectx);
        dst_lib_destroy();
 
-       if (open_keyboard)
-               /*
-                * Add a little vertical whitespace to separate it
-                * from the "stop typing" message".
-                */
-               printf("\n\n");
-
        if (keyonly) {
                write_key_file(keyfile, chrootdir == NULL ? user : NULL,
                               keyname, &key_txtbuffer);