about summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
authorGirish Joshi <girish946@gmail.com>2020-03-02 15:19:29 -0500
committerDJ Delorie <dj@redhat.com>2020-03-02 15:58:16 -0500
commit542160f0b6a7c26758c9575a8876f6624a5dd65f (patch)
treec3022d37b6a27cc141c80cf09ac7267e53644832 /support
parent808cd69267bb93f0335a8da072f4c026a7753f5f (diff)
downloadglibc-542160f0b6a7c26758c9575a8876f6624a5dd65f.tar.gz
glibc-542160f0b6a7c26758c9575a8876f6624a5dd65f.tar.xz
glibc-542160f0b6a7c26758c9575a8876f6624a5dd65f.zip
Fixed typo in run_command_array() in support/shell-container.c
https://sourceware.org/bugzilla/show_bug.cgi?id=23991
Diffstat (limited to 'support')
-rw-r--r--support/shell-container.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/shell-container.c b/support/shell-container.c
index 509e0d69b1..72950bcabf 100644
--- a/support/shell-container.c
+++ b/support/shell-container.c
@@ -228,7 +228,7 @@ run_command_array (char **argv)
       if (new_stderr != 2)
 	{
 	  dup2 (new_stderr, 2);
-	  close (new_stdout);
+	  close (new_stderr);
 	}
 
       if (builtin_func != NULL)