build: shell-container typo in run_command_array [BZ 23991]
Commit Message
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(-)
@@ -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)