From: Girish Joshi Date: Mon, 2 Mar 2020 20:19:29 +0000 (-0500) Subject: Fixed typo in run_command_array() in support/shell-container.c X-Git-Tag: glibc-2.32~567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=542160f0b6a7c26758c9575a8876f6624a5dd65f;p=thirdparty%2Fglibc.git Fixed typo in run_command_array() in support/shell-container.c https://sourceware.org/bugzilla/show_bug.cgi?id=23991 --- diff --git a/support/shell-container.c b/support/shell-container.c index 509e0d69b1a..72950bcabf3 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)