---
 libdiskfs/console.c |    5 -----
 1 file changed, 5 deletions(-)

--- a/libdiskfs/console.c
+++ b/libdiskfs/console.c
@@ -40,11 +40,6 @@ diskfs_console_stdio (void)
 {
   if (getpid () > 0)
     {
-      if (write (2, "", 0) == 0)
-	/* We have a working stderr from our parent (e.g. settrans -a).
-	   Just use it.  */
-	dup2 (2, 1);
-      else
 	{
 	  int fd = open ("/dev/console", O_RDWR);
 	  if (fd < 0)
