Index: src/cor/main.cc
===================================================================
--- src/cor/main.cc	(revision 5f4d9c3b32eea7b6643a751aa75bdb05b7d41576)
+++ src/cor/main.cc	(revision e0cd003326594ac9d86d8aefddfad61e75644bd1)
@@ -77,5 +77,5 @@
 	  
 	  if ( tab.count() == 0)
-	    fputs(line, failedf);
+	    fputs(line, outputf);
 	  else 
 	    {
@@ -146,9 +146,5 @@
 	}
       
-      if(args.interactive_flag)
-	{
-        fflush(outputf);
-        fflush(failedf);
-      }
+      if(args.interactive_flag) fflush(outputf);
     }
   cmdline_parser_free(&args);
