28653a
commit 542160f0b6a7c26758c9575a8876f6624a5dd65f
28653a
Author: Girish Joshi <girish946@gmail.com>
28653a
Date:   Mon Mar 2 15:19:29 2020 -0500
28653a
28653a
    Fixed typo in run_command_array() in support/shell-container.c
28653a
    
28653a
    https://sourceware.org/bugzilla/show_bug.cgi?id=23991
28653a
28653a
diff --git a/support/shell-container.c b/support/shell-container.c
28653a
index 9bd90d3f60529079..e87ac5cf1baa84e5 100644
28653a
--- a/support/shell-container.c
28653a
+++ b/support/shell-container.c
28653a
@@ -228,7 +228,7 @@ run_command_array (char **argv)
28653a
       if (new_stderr != 2)
28653a
 	{
28653a
 	  dup2 (new_stderr, 2);
28653a
-	  close (new_stdout);
28653a
+	  close (new_stderr);
28653a
 	}
28653a
 
28653a
       if (builtin_func != NULL)