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