]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fixed typo in run_command_array() in support/shell-container.c
authorGirish Joshi <girish946@gmail.com>
Mon, 2 Mar 2020 20:19:29 +0000 (15:19 -0500)
committerDJ Delorie <dj@redhat.com>
Mon, 2 Mar 2020 20:58:16 +0000 (15:58 -0500)
https://sourceware.org/bugzilla/show_bug.cgi?id=23991

support/shell-container.c

index 509e0d69b1a08f8105bc332fa2eb904d6a593d7d..72950bcabf33b4632f526f3cb1cfff0c34e00b29 100644 (file)
@@ -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)