diff mbox

build: shell-container typo in run_command_array [BZ 23991]

Message ID CALkY8p9bOr_trg=5D1SJ+m4cPqKd9mGvo_PMT8YnO1AkZgvVYA@mail.gmail.com
State New
Headers show

Commit Message

Girish Joshi March 2, 2020, 6:05 p.m. UTC
From 82e093b514780ab9b70eb3b1f266e25d7347d770 Mon Sep 17 00:00:00 2001
From: Girish Joshi <girish946@gmail.com>
Date: Mon, 2 Mar 2020 23:15:40 +0530
Subject: [PATCH] Fixed typo in run_command_array() in
 support/shell-container.c [BZ #23991]

---
 support/shell-container.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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)